mirror of
https://github.com/beego/bee.git
synced 2024-11-29 16:51:28 +00:00
remove unique constraint
This commit is contained in:
parent
cf86f6af78
commit
83dd1e256a
@ -354,8 +354,7 @@ CREATE TABLE migrations (
|
|||||||
statements longtext COMMENT 'SQL statements for this migration',
|
statements longtext COMMENT 'SQL statements for this migration',
|
||||||
rollback_statements longtext COMMENT 'SQL statment for rolling back migration',
|
rollback_statements longtext COMMENT 'SQL statment for rolling back migration',
|
||||||
status ENUM('update', 'rollback') COMMENT 'update indicates it is a normal migration while rollback means this migration is rolled back',
|
status ENUM('update', 'rollback') 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)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user