Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function safeUp() |
||
14 | { |
||
15 | $this->createTable('albums', [ |
||
16 | 'id' => $this->primaryKey(), |
||
|
|||
17 | 'title' => $this->string(64)->notNull(), |
||
18 | 'description' => $this->text(), |
||
19 | 'type' => $this->string(64)->notNull(), |
||
20 | 'created_at' => $this->integer()->notNull(), |
||
21 | 'updated_at' => $this->integer(), |
||
22 | ]); |
||
33 |