fixes #1880 dashboard_snapshot table does not have a data column

This commit is contained in:
Anthony Woods 2015-04-25 18:51:25 +08:00
parent d84d92f73c
commit f227002a80

View File

@ -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 MODIFY data MEDIUMTEXT;"))
}