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
test database is connect OK after db config initialized (
#239
)
master
Lunny Xiao
GitHub
8 years ago
parent
ba2e75a0ab
commit
450969c158
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
models/models.go
+ 4
- 0
models/models.go
View File
@@ -196,6 +196,10 @@ func NewEngine() (err error) {
return err
}
if err = x.Ping(); err != nil {
return err
}
if err = migrations.Migrate(x); err != nil {
return fmt.Errorf("migrate: %v", err)
}
Write
Preview
Loading…
Cancel
Save