Browse Source

#1569 force InnoDB for MySQL

tags/v1.21.12.1
Unknwon 10 years ago
parent
commit
b1f0f85789
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/models.go

+ 1
- 1
models/models.go View File

@@ -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…
Cancel
Save