|
|
@@ -12,7 +12,7 @@ class m210602_124525_user_type_field extends Migration
|
|
|
*/
|
|
|
public function safeUp()
|
|
|
{
|
|
|
- $this->addColumn('{{user}}', 'type', $this->string(255)->notNull());
|
|
|
+ $this->addColumn('{{%user}}', 'type', $this->string(255)->notNull());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -20,6 +20,6 @@ class m210602_124525_user_type_field extends Migration
|
|
|
*/
|
|
|
public function safeDown()
|
|
|
{
|
|
|
- $this->dropColumn('{{user}}', 'type');
|
|
|
+ $this->dropColumn('{{%user}}', 'type');
|
|
|
}
|
|
|
}
|