Skip to content

Commit bd6a30a

Browse files
authored
Update m161114_094902_add_url_column_to_comment_table.php
1 parent a0669be commit bd6a30a

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)