We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 577fcf9 commit 7dfb628Copy full SHA for 7dfb628
migrations/m161109_104201_rename_setting_table.php
@@ -6,7 +6,7 @@ class m161109_104201_rename_setting_table extends Migration
6
{
7
public function up()
8
9
- if (Yii::$app->db->schema->getTableSchema('setting') === null) {
+ if (Yii::$app->db->schema->getTableSchema('{{%setting}}') === null) {
10
$this->renameTable('{{%Setting}}', '{{%setting}}');
11
}
12
0 commit comments