Extend PostgreSQL implementation and unit tests on MongoDB storage

This commit is contained in:
2023-05-02 00:34:33 +02:00
parent 1bf02aa132
commit c6ba00b74f
18 changed files with 870 additions and 752 deletions

View File

@@ -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",