Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class m170323_102933_add_description_column_to_setting_table extends Migration |
||
9 | { |
||
10 | /** |
||
11 | * @inheritdoc |
||
12 | */ |
||
13 | public function up() |
||
14 | { |
||
15 | $this->addColumn('{{%setting}}', 'description', $this->string()->after('status')); |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | public function down() |
||
24 | } |
||
25 | } |
||
26 |