| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function safeUp() |
||
| 14 | { |
||
| 15 | $this->createTable('user', [ |
||
| 16 | 'id' => $this->primaryKey(), |
||
| 17 | 'username' => $this->string()->notNull(), |
||
| 18 | 'email' => $this->string()->notNull(), |
||
| 19 | 'image' => $this->string(), |
||
| 20 | 'google_user_id' => $this->string()->notNull(), |
||
| 21 | 'active' => $this->boolean()->notNull()->defaultValue(0), |
||
| 22 | 'updated_at' => $this->dateTime(), |
||
| 23 | 'created_at' => $this->dateTime(), |
||
| 24 | ]); |
||
| 35 |