Public Dashboards: Can toggle annotations in modal (#57312)
adds toggle for pubdash annotations
This commit is contained in:
@@ -65,4 +65,13 @@ func addPublicDashboardMigration(mg *Migrator) {
|
||||
|
||||
// rename table
|
||||
addTableRenameMigration(mg, "dashboard_public_config", "dashboard_public", "v2")
|
||||
// some migrations (like AddColumn) need the table object to be passed in. So we need to make sure its updated.
|
||||
dashboardPublicCfgV2.Name = "dashboard_public"
|
||||
|
||||
mg.AddMigration("add annotations_enabled column", NewAddColumnMigration(dashboardPublicCfgV2, &Column{
|
||||
Name: "annotations_enabled",
|
||||
Type: DB_Bool,
|
||||
Nullable: false,
|
||||
Default: "0",
|
||||
}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user