DB Migrations #67
|
@ -115,7 +115,7 @@ func dropTableColum(x *xorm.Engine, tableName, col string) error {
|
|||
}
|
||||
|
||||
func initSchema(tx *xorm.Engine) error {
|
||||
return tx.Sync2(
|
||||
models.GetTables()..., //TODO: Why does it fail here with new dbs?
|
||||
return tx.StoreEngine("InnoDB").Sync2(
|
||||
models.GetTables()...,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user