This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request
#597
from luto/fix-mysql-engine
force the use of InnoDB as db engine for all tables
tags/v1.2.0-rc1
无闻
10 years ago
parent
283c81316c
bff1e157d5
commit
5b290013a9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/models.go
+ 1
- 1
models/models.go
View File
@@ -129,7 +129,7 @@ func NewEngine() (err error) {
if err = SetEngine(); err != nil {
return err
}
if err = x.Sync2(tables...); err != nil {
if err = x.S
toreEngine("InnoDB").S
ync2(tables...); err != nil {
return fmt.Errorf("sync database struct error: %v\n", err)
}
return nil
Write
Preview
Loading…
Cancel
Save