fix(config): fill dialect field

This commit is contained in:
Denis Gukov 2021-08-28 22:57:04 +05:00
parent 0b3b56620c
commit 81e50f82ef
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ web2/dist/**/*
/config.json
/.dredd/config.json
/database.bolt
/database.boltdb
.DS_Store
node_modules/

View File

@ -36,10 +36,13 @@ func InteractiveSetup(conf *util.ConfigType) {
switch db {
case 1:
conf.Dialect = util.DbDriverMySQL
scanMySQL(conf)
case 2:
conf.Dialect = util.DbDriverBolt
scanBoltDb(conf)
case 3:
conf.Dialect = util.DbDriverPostgres
scanPostgres(conf)
}