Skip to content

Commit

Permalink
Merge pull request #24 from aminkt/master
Browse files Browse the repository at this point in the history
Update m161109_104201_rename_setting_table.php
  • Loading branch information
Igor Chepurnoy authored Dec 24, 2017
2 parents 577fcf9 + 7dfb628 commit e121515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/m161109_104201_rename_setting_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class m161109_104201_rename_setting_table extends Migration
{
public function up()
{
if (Yii::$app->db->schema->getTableSchema('setting') === null) {
if (Yii::$app->db->schema->getTableSchema('{{%setting}}') === null) {
$this->renameTable('{{%Setting}}', '{{%setting}}');
}
}
Expand Down

0 comments on commit e121515

Please sign in to comment.