| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function safeUp() |
||
| 14 | { |
||
| 15 | $this->createTable('owners_albums', [ |
||
| 16 | 'albumId' => $this->integer()->notNull(), |
||
|
|
|||
| 17 | 'ownerId' => $this->integer()->notNull(), |
||
| 18 | 'owner' => $this->string(64)->notNull(), |
||
| 19 | 'ownerAttribute' => $this->string(64)->notNull(), |
||
| 20 | 'PRIMARY KEY (`albumId`, `ownerId`, `owner`, `ownerAttribute`)', |
||
| 21 | ]); |
||
| 32 |