Skip to content

Commit 45acbf8

Browse files
author
cg33
committed
update orm
1 parent ae0c57a commit 45acbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var (
1111
)
1212

1313
func Init(c db.Connection) {
14-
orm, err = gorm.Open("sqlite", c.GetDB("default"))
14+
orm, err = gorm.Open("sqlite3", c.GetDB("default"))
1515

1616
if err != nil {
1717
panic("initialize orm failed")

0 commit comments

Comments
 (0)