diff --git a/.gitignore b/.gitignore index 4d002c69..b8f02584 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ web2/dist/**/* /config.json /.dredd/config.json /database.bolt +/database.boltdb .DS_Store node_modules/ diff --git a/cli/setup/setup.go b/cli/setup/setup.go index 7c98e57a..9b4ecfdf 100644 --- a/cli/setup/setup.go +++ b/cli/setup/setup.go @@ -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) }