fixes #1880 correct mysql statement for modifying column data type

This commit is contained in:
Anthony Woods
2015-04-25 18:46:30 +08:00
parent 380b7f4d94
commit d84d92f73c

View File

@ -53,5 +53,5 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
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;"))
Mysql("ALTER TABLE dashboard_snapshot MODIFY data MEDIUMTEXT;"))
}