mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:30:56 +00:00
migration: delete the unique key for name
This commit is contained in:
parent
da6726f3da
commit
ae37f95239
@ -15,8 +15,7 @@
|
|||||||
// `statements` longtext COMMENT 'SQL statements for this migration',
|
// `statements` longtext COMMENT 'SQL statements for this migration',
|
||||||
// `rollback_statements` longtext,
|
// `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',
|
// `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`),
|
// PRIMARY KEY (`id_migration`)
|
||||||
// UNIQUE KEY `name` (`name`)
|
|
||||||
// ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
// ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
package migration
|
package migration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user