mirror of
https://github.com/beego/bee.git
synced 2024-11-25 20:10:55 +00:00
commit
b2d3dbfaf1
@ -312,6 +312,7 @@ const (
|
||||
|
||||
import(
|
||||
"os"
|
||||
|
||||
"github.com/astaxie/beego/orm"
|
||||
"github.com/astaxie/beego/migration"
|
||||
|
||||
@ -353,8 +354,7 @@ CREATE TABLE migrations (
|
||||
statements longtext COMMENT 'SQL statements for this 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',
|
||||
PRIMARY KEY (id_migration),
|
||||
UNIQUE KEY (name)
|
||||
PRIMARY KEY (id_migration)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
||||
`
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user