You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-03 23:30:29 +02:00
revert postgres change
This commit is contained in:
@ -121,17 +121,8 @@ func (s *SQLStore) isSchemaMigrationNeeded() (bool, error) {
|
|||||||
From("information_schema.COLUMNS").
|
From("information_schema.COLUMNS").
|
||||||
Where(sq.Eq{
|
Where(sq.Eq{
|
||||||
"TABLE_NAME": s.tablePrefix + "schema_migrations",
|
"TABLE_NAME": s.tablePrefix + "schema_migrations",
|
||||||
})
|
|
||||||
|
|
||||||
if s.dbType == model.MysqlDBType {
|
|
||||||
query = query.Where(sq.Eq{
|
|
||||||
"TABLE_SCHEMA": s.schemaName,
|
"TABLE_SCHEMA": s.schemaName,
|
||||||
})
|
})
|
||||||
} else {
|
|
||||||
query = query.Where(sq.Eq{
|
|
||||||
"TABLE_CATALOG": s.schemaName,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
rows, err := query.Query()
|
rows, err := query.Query()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user