| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 7 | public function safeUp() | ||
| 8 |     { | ||
| 9 |         $this->createTable('{{%file}}', [ | ||
| 10 | 'id' => $this->primaryKey(), | ||
| 11 | 'user_id' => $this->integer()->notNull()->defaultValue(0), | ||
| 12 |             'title' => $this->string()->notNull()->defaultValue(''), | ||
| 13 |             'name' => $this->string()->notNull()->defaultValue(''), | ||
| 14 | 'date_create' => $this->timestamp()->null(), | ||
| 15 | 'date_update' => $this->timestamp()->null(), | ||
| 16 | 'ip' => $this->bigInteger(20)->notNull()->defaultValue(0), | ||
| 17 | ], $this->tableOptions); | ||
| 18 | } | ||
| 19 | |||
| 25 |