Skip to content

Commit 81e50f8

Browse files
committed
fix(config): fill dialect field
1 parent 0b3b566 commit 81e50f8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ web2/dist/**/*
99
/config.json
1010
/.dredd/config.json
1111
/database.bolt
12+
/database.boltdb
1213
.DS_Store
1314
node_modules/
1415

cli/setup/setup.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ func InteractiveSetup(conf *util.ConfigType) {
3636

3737
switch db {
3838
case 1:
39+
conf.Dialect = util.DbDriverMySQL
3940
scanMySQL(conf)
4041
case 2:
42+
conf.Dialect = util.DbDriverBolt
4143
scanBoltDb(conf)
4244
case 3:
45+
conf.Dialect = util.DbDriverPostgres
4346
scanPostgres(conf)
4447
}
4548

0 commit comments

Comments
 (0)