mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 18:12:32 +08:00

Secrets: Conditionally lock DB before migrations using config setting (#105949) Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
9 lines
233 B
Go
9 lines
233 B
Go
package contracts
|
|
|
|
import "context"
|
|
|
|
// SecretDBMigrator is an interface for running database migrations related to secrets management.
|
|
type SecretDBMigrator interface {
|
|
RunMigrations(ctx context.Context, lockDatabase bool) error
|
|
}
|