1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +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:
query = s.getQueryBuilder(s.db).Select("DATABASE()")
case model.PostgresDBType:
query = s.getQueryBuilder(s.db).Select("current_catalog")
query = s.getQueryBuilder(s.db).Select("current_schema()")
case model.SqliteDBType:
return "", nil
default: