Alerting: add safeguard for migrations that might cause dataloss (#48526)

* Alerting: add safeguard for migrations that might cause dataloss

* add test for panic

* add documentation
This commit is contained in:
Jean-Philippe Quéméner
2022-05-02 10:38:42 +02:00
committed by GitHub
parent a5c570a5f6
commit 0a87ef06af
6 changed files with 37 additions and 0 deletions

View File

@@ -9,6 +9,9 @@
# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
;instance_name = ${HOSTNAME}
# force migration will run migrations that might cause dataloss
;force_migration = false
#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)