Advanced app migrations updated

This commit is contained in:
Alexander Kochetov
2014-01-19 13:50:06 +04:00
parent ddb0e9b0e6
commit 7d157abdb8

View File

@@ -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);
} }