fix migration

parent d70f1633
......@@ -14,7 +14,7 @@ class m160209_151440_add_table_blog extends Migration
'active' => Schema::TYPE_INTEGER.'(1) NOT NULL',
'created_at' => Schema::TYPE_INTEGER.'(11) DEFAULT NULL',
'updated_at' => Schema::TYPE_INTEGER.'(11) DEFAULT NULL',
], $tableOptions);
]);
$this->createIndex('posts_url_unique', 'posts', 'url', true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment