mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 06:27:19 +00:00
#1569 force InnoDB for MySQL
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user