Possible fix for initSchema
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kolaente 2019-03-28 20:09:07 +01:00
parent a78182322b
commit 0a3ad26ac9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -115,7 +115,7 @@ func dropTableColum(x *xorm.Engine, tableName, col string) error {
} }
func initSchema(tx *xorm.Engine) error { func initSchema(tx *xorm.Engine) error {
return tx.Sync2( return tx.StoreEngine("InnoDB").Sync2(
models.GetTables()..., //TODO: Why does it fail here with new dbs? models.GetTables()...,
) )
} }