| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function columns(): array |
||
| 11 | { |
||
| 12 | return [ |
||
| 13 | 'id' => $this->primaryKey(), |
||
| 14 | 'username' => $this->string()->notNull()->unique(), |
||
| 15 | 'auth_key' => $this->string(32)->notNull(), |
||
| 16 | 'password_hash' => $this->string()->notNull(), |
||
| 17 | 'password_reset_token' => $this->string()->unique(), |
||
| 18 | ]; |
||
| 21 |