Merge pull request #1881 from raintank/issue1880
fixes #1880 correct mysql statement for modifying column data type
This commit is contained in:
@@ -49,9 +49,4 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
|
||||
mg.AddMigration("create dashboard_snapshot table v5 #2", NewAddTableMigration(snapshotV5))
|
||||
addTableIndicesMigrations(mg, "v5", snapshotV5)
|
||||
|
||||
// ncrease data type
|
||||
mg.AddMigration("alter dashboard_snapshot.data to mediumtext v1", new(RawSqlMigration).
|
||||
Sqlite("SELECT 0 WHERE 0;").
|
||||
Postgres("SELECT 0;").
|
||||
Mysql("ALTER TABLE dashboard_snapshot.data MODIFY data MEDIUMTEXT;"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user