increase blob column size for encrypted dashboard data (#28831) (#28832)

(cherry picked from commit 65554269ed)

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2020-11-04 21:30:37 +01:00
committed by GitHub
co-authored by Will Browne
parent b51303b83d
commit 7995ab999f
@@ -68,4 +68,7 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
mg.AddMigration("Add encrypted dashboard json column", NewAddColumnMigration(snapshotV5, &Column{
Name: "dashboard_encrypted", Type: DB_Blob, Nullable: true,
}))
mg.AddMigration("Change dashboard_encrypted column to MEDIUMBLOB", NewRawSqlMigration("").
Mysql("ALTER TABLE dashboard_snapshot MODIFY dashboard_encrypted MEDIUMBLOB;"))
}