Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function up() |
||
14 | { |
||
15 | $this->createTable('users', [ |
||
16 | 'id' => $this->primaryKey(), |
||
17 | 'first_name' => $this->string(64), |
||
18 | 'last_name' => $this->string(64), |
||
19 | 'patronymic' => $this->string(64), |
||
20 | 'login' => $this->string(64), |
||
21 | 'email' => $this->string(64), |
||
22 | 'phone' => $this->string(64), |
||
23 | 'hashedPassword' => $this->string(), |
||
24 | 'status' => $this->tinyInteger(), |
||
25 | 'public' => $this->tinyInteger(), |
||
26 | 'order' => $this->tinyInteger(), |
||
27 | 'about' => $this->text(), |
||
28 | 'created_at' => $this->dateTime(), |
||
29 | 'updated_at' => $this->dateTime(), |
||
30 | ]); |
||
41 |