add miss change

pull/351/head
Michael Li 1 year ago
parent 79d9794462
commit 940d0032e4
No known key found for this signature in database

@ -76,7 +76,7 @@ func initDsX() {
} else if cfg.If("Sqlx") { } else if cfg.If("Sqlx") {
ds, dsVer = sakila.NewDataService() ds, dsVer = sakila.NewDataService()
webDsa, dsaVer = sakila.NewWebDataServantA() webDsa, dsaVer = sakila.NewWebDataServantA()
} else if cfg.If("Sqlc") && (cfg.If("Postgres") || cfg.If("PostgreSQL")) { } else if cfg.If("Sqlc") && cfg.Any("Postgres", "PostgreSQL") {
ds, dsVer = slonik.NewDataService() ds, dsVer = slonik.NewDataService()
webDsa, dsaVer = slonik.NewWebDataServantA() webDsa, dsaVer = slonik.NewWebDataServantA()
} else { } else {

Loading…
Cancel
Save