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