Selaa lähdekoodia

#1569 force InnoDB for MySQL

tags/v0.9.99
Unknwon 8 vuotta sitten
vanhempi
commit
b1f0f85789
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      models/models.go

+ 1
- 1
models/models.go Näytä tiedosto

@@ -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…
Peruuta
Tallenna