1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: introduce constants for db dialects

chore: go fmt
This commit is contained in:
Ferdinand Mütsch
2020-11-06 17:20:26 +01:00
parent e269b37b0e
commit 78874566a4
6 changed files with 18 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ func migrateLegacyConfig() error {
}
if dbType == "" {
dbType = "sqlite3"
dbType = SQLDialectSqlite
}
dbMaxConn := cfg.Section("database").Key("max_connections").MustUint(2)