We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2f2adf commit 10192ecCopy full SHA for 10192ec
sql/db.go
@@ -29,7 +29,7 @@ var config = &Config{
29
// New initializes the database connection with GORM
30
func New(configs ...*Config) (err error) {
31
for _, cfg := range configs {
32
- if cfg.Driver != 0 {
+ if cfg.Driver != Sqlite {
33
config.Driver = cfg.Driver
34
}
35
0 commit comments