Extend PostgreSQL implementation and unit tests on MongoDB storage
This commit is contained in:
11
config.go
11
config.go
@@ -21,6 +21,17 @@ func ReadConfig() (*viper.Viper, error) {
|
||||
"users": "users",
|
||||
},
|
||||
},
|
||||
"psql": map[string]any{
|
||||
"host": "localhost",
|
||||
"port": "5432",
|
||||
"dbname": "coopgo_platform",
|
||||
"sslmode": "disable",
|
||||
"schema": "mobilityaccounts",
|
||||
"tables": map[string]any{
|
||||
"accounts": "accounts",
|
||||
"accounts_auth_local": "accounts_auth_local",
|
||||
},
|
||||
},
|
||||
},
|
||||
"kv": map[string]any{
|
||||
"type": "etcd",
|
||||
|
||||
Reference in New Issue
Block a user