1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 17:00:50 +00:00

migration: delete the unique key for name

This commit is contained in:
astaxie 2014-08-13 16:42:16 +08:00
parent da6726f3da
commit ae37f95239

View File

@ -15,8 +15,7 @@
// `statements` longtext COMMENT 'SQL statements for this migration',
// `rollback_statements` longtext,
// `status` enum('update','rollback') DEFAULT NULL COMMENT 'update indicates it is a normal migration while rollback means this migration is rolled back',
// PRIMARY KEY (`id_migration`),
// UNIQUE KEY `name` (`name`)
// PRIMARY KEY (`id_migration`)
// ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
package migration