Added support for sqlite as database backend
This commit is contained in:
parent
619201ec9b
commit
216c6d85b2
3 changed files with 20 additions and 4 deletions
1
db.go
1
db.go
|
@ -5,6 +5,7 @@ import (
|
|||
|
||||
"github.com/jinzhu/gorm"
|
||||
_ "github.com/jinzhu/gorm/dialects/postgres" // sql driver
|
||||
_ "github.com/jinzhu/gorm/dialects/sqlite" // sql driver
|
||||
)
|
||||
|
||||
const dbVersion = "1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue