Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class m241125_122400_alter_token_table extends db\Migration |
||
8 | { |
||
9 | private const TABLE_NAME = 'token'; |
||
10 | private const COLUMN_NAME = 'type'; |
||
11 | |||
12 | public function up(): void |
||
13 | { |
||
14 | $this->alterColumn( |
||
15 | static::TABLE_NAME, |
||
16 | static::COLUMN_NAME, |
||
17 | $this->string(64)->notNull() |
||
18 | ); |
||
19 | } |
||
20 | |||
21 | public function down(): void |
||
27 | ); |
||
28 | } |
||
30 |