mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 04:36:11 +01:00
#1569 force InnoDB for MySQL
This commit is contained in:
parent
a7ee654646
commit
b1f0f85789
|
@ -156,7 +156,7 @@ func NewTestEngine(x *xorm.Engine) (err error) {
|
|||
}
|
||||
|
||||
x.SetMapper(core.GonicMapper{})
|
||||
return x.Sync(tables...)
|
||||
return x.StoreEngine("InnoDB").Sync2(tables...)
|
||||
}
|
||||
|
||||
func SetEngine() (err error) {
|
||||
|
|
Loading…
Reference in a new issue