mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
fix: dsahboard_version data column type changed to MEDIUMTEXT, fixes #8813
This commit is contained in:
parent
2d2800e710
commit
723f5bc9e8
@ -58,4 +58,10 @@ FROM dashboard;`
|
|||||||
Sqlite(rawSQL).
|
Sqlite(rawSQL).
|
||||||
Postgres(rawSQL).
|
Postgres(rawSQL).
|
||||||
Mysql(rawSQL))
|
Mysql(rawSQL))
|
||||||
|
|
||||||
|
// change column type of dashboard_version.data
|
||||||
|
mg.AddMigration("alter dashboard_version.data to mediumtext v1", new(RawSqlMigration).
|
||||||
|
Sqlite("SELECT 0 WHERE 0;").
|
||||||
|
Postgres("SELECT 0;").
|
||||||
|
Mysql("ALTER TABLE dashboard_version MODIFY data MEDIUMTEXT;"))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user