diff --git a/pkg/services/sqlstore/migrations/dashboard_snapshot_mig.go b/pkg/services/sqlstore/migrations/dashboard_snapshot_mig.go index 5b4b27455f2..4ff4f7ae62b 100644 --- a/pkg/services/sqlstore/migrations/dashboard_snapshot_mig.go +++ b/pkg/services/sqlstore/migrations/dashboard_snapshot_mig.go @@ -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;")) }