Commit e17198af by Dafydd Committed by GitHub

WIP: Skip this call when we skip migrations (#31216)

parent d33375ad
......@@ -117,8 +117,10 @@ func (ss *SQLStore) Init() error {
return err
}
// Make sure the changes are synced, so they get shared with eventual other DB connections
if err := ss.Sync(); err != nil {
return err
if !ss.dbCfg.SkipMigrations {
if err := ss.Sync(); err != nil {
return err
}
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment