1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 22:11:29 +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', // `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