mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 14:29:30 +08:00
Advanced app migrations updated
This commit is contained in:
@@ -21,8 +21,8 @@ class m130524_201442_init extends \yii\db\Migration
|
|||||||
'role' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 10',
|
'role' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 10',
|
||||||
|
|
||||||
'status' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 10',
|
'status' => Schema::TYPE_SMALLINT . ' NOT NULL DEFAULT 10',
|
||||||
'create_time' => Schema::TYPE_INTEGER.' NOT NULL',
|
'created_at' => Schema::TYPE_INTEGER.' NOT NULL',
|
||||||
'update_time' => Schema::TYPE_INTEGER.' NOT NULL',
|
'updated_at' => Schema::TYPE_INTEGER.' NOT NULL',
|
||||||
], $tableOptions);
|
], $tableOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user