mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-08 15:06:08 +02:00
Add schema check for schema migration
(cherry picked from commit 5310193fa6
)
This commit is contained in:
parent
7f54c4c349
commit
836c1873fa
@ -121,6 +121,10 @@ func (s *SQLStore) isSchemaMigrationNeeded() (bool, error) {
|
||||
"COLUMN_NAME": "dirty",
|
||||
})
|
||||
|
||||
if s.dbType == model.MysqlDBType {
|
||||
query = query.Where(sq.Eq{"TABLE_SCHEMA": s.schemaName})
|
||||
}
|
||||
|
||||
row := query.QueryRow()
|
||||
|
||||
var count int
|
||||
|
Loading…
Reference in New Issue
Block a user