1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-11 18:13:52 +02:00

revert postgres change

This commit is contained in:
Scott Bishel 2023-03-14 12:08:34 -06:00
parent 136fae748d
commit 917ca6b918

View File

@ -146,7 +146,7 @@ func (s *SQLStore) GetSchemaName() (string, error) {
case model.MysqlDBType: case model.MysqlDBType:
query = s.getQueryBuilder(s.db).Select("DATABASE()") query = s.getQueryBuilder(s.db).Select("DATABASE()")
case model.PostgresDBType: case model.PostgresDBType:
query = s.getQueryBuilder(s.db).Select("current_catalog") query = s.getQueryBuilder(s.db).Select("current_schema()")
case model.SqliteDBType: case model.SqliteDBType:
return "", nil return "", nil
default: default: