diff options
author | Unknwon <u@gogs.io> | 2015-09-03 05:05:58 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-03 05:05:58 -0400 |
commit | b1f0f85789ca1c8467f533e0ec0f44e446383d5c (patch) | |
tree | be6639fdfbecdeabec72c675a7732e9684b153f1 /models/models.go | |
parent | a7ee654646e0f40834066ee0ec173aa54c235b08 (diff) | |
download | gitea-b1f0f85789ca1c8467f533e0ec0f44e446383d5c.tar.gz gitea-b1f0f85789ca1c8467f533e0ec0f44e446383d5c.zip |
#1569 force InnoDB for MySQL
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go index 9412c18dee..b446dcde16 100644 --- a/models/models.go +++ b/models/models.go @@ -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) { |