Skip to content

Commit d3d9431

Browse files
author
Igor Chepurnoy
authored
Merge pull request #35 from eolitich/patch-1
Update m161114_094902_add_url_column_to_comment_table.php
2 parents a0669be + bd6a30a commit d3d9431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migrations/m161114_094902_add_url_column_to_comment_table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ class m161114_094902_add_url_column_to_comment_table extends Migration
1212
*/
1313
public function up()
1414
{
15-
$this->addColumn('comment', 'url', $this->text()->after('relatedTo'));
15+
$this->addColumn('{{%comment}}', 'url', $this->text()->after('relatedTo'));
1616
}
1717

1818
/**
1919
* {@inheritdoc}
2020
*/
2121
public function down()
2222
{
23-
$this->dropColumn('comment', 'url');
23+
$this->dropColumn('{{%comment}}', 'url');
2424
}
2525
}

0 commit comments

Comments
 (0)