Commit 65554269 by Will Browne Committed by GitHub

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

parent 2b7a5702
...@@ -68,4 +68,7 @@ func addDashboardSnapshotMigrations(mg *Migrator) { ...@@ -68,4 +68,7 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
mg.AddMigration("Add encrypted dashboard json column", NewAddColumnMigration(snapshotV5, &Column{ mg.AddMigration("Add encrypted dashboard json column", NewAddColumnMigration(snapshotV5, &Column{
Name: "dashboard_encrypted", Type: DB_Blob, Nullable: true, 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;"))
} }
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