From 6d849e3a82f5ced3ee3a7facc3aae797e7773982 Mon Sep 17 00:00:00 2001 From: Alexander Bogdanov Date: Tue, 4 Nov 2014 06:56:57 -0500 Subject: [PATCH] fixed table name that consider table prefix --- migrations/m140618_045255_create_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/m140618_045255_create_settings.php b/migrations/m140618_045255_create_settings.php index 35595a9..3ec5eb3 100644 --- a/migrations/m140618_045255_create_settings.php +++ b/migrations/m140618_045255_create_settings.php @@ -15,7 +15,7 @@ class m140618_045255_create_settings extends \yii\db\Migration public function up() { $this->createTable( - 'settings', + '{{%settings}}', [ 'id' => Schema::TYPE_PK, 'type' => Schema::TYPE_STRING,