mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 08:13:47 +08:00
fixes #1880 correct mysql statement for modifying column data type
This commit is contained in:
@ -53,5 +53,5 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
|
|||||||
mg.AddMigration("alter dashboard_snapshot.data to mediumtext v1", new(RawSqlMigration).
|
mg.AddMigration("alter dashboard_snapshot.data to mediumtext v1", new(RawSqlMigration).
|
||||||
Sqlite("SELECT 0 WHERE 0;").
|
Sqlite("SELECT 0 WHERE 0;").
|
||||||
Postgres("SELECT 0;").
|
Postgres("SELECT 0;").
|
||||||
Mysql("ALTER TABLE dashboard_snapshot.data MODIFY data MEDIUMTEXT;"))
|
Mysql("ALTER TABLE dashboard_snapshot MODIFY data MEDIUMTEXT;"))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user