SQLStore: Enable migration locking by default (#84983)

* Introduce new configuration for migration locking

* Remove feature toggle

* Fix test and turn it into an integration

* Fix docs
This commit is contained in:
Sofia Papagiannaki authored and GitHub committed 2024-03-22 21:22:29 +02:00
1 parent 980b9a62c6
commit 33b653534e
13 files changed
+30 -23

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ func ProvideService(cfg *setting.Cfg,
}
s.features = features
if err := s.Migrate(features.IsEnabledGlobally(featuremgmt.FlagMigrationLocking)); err != nil {
if err := s.Migrate(s.dbCfg.MigrationLock); err != nil {
return nil, err
}