mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
increase blob column size for encrypted dashboard data (#28831)
This commit is contained in:
parent
2b7a570273
commit
65554269ed
@ -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;"))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user