Commit 401b01e1 by Marcus Efraimsson

db: add new column uid to the dashboard table. #7883

parent 2c8e4485
...@@ -150,4 +150,9 @@ func addDashboardMigration(mg *Migrator) { ...@@ -150,4 +150,9 @@ func addDashboardMigration(mg *Migrator) {
mg.AddMigration("Add column has_acl in dashboard", NewAddColumnMigration(dashboardV2, &Column{ mg.AddMigration("Add column has_acl in dashboard", NewAddColumnMigration(dashboardV2, &Column{
Name: "has_acl", Type: DB_Bool, Nullable: false, Default: "0", Name: "has_acl", Type: DB_Bool, Nullable: false, Default: "0",
})) }))
// new uid column
mg.AddMigration("Add column uid in dashboard", NewAddColumnMigration(dashboardV2, &Column{
Name: "uid", Type: DB_NVarchar, Length: 12, Nullable: true,
}))
} }
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