Removed columns from snapshot table

This commit is contained in:
utkarshcmu 2015-12-18 00:30:44 -08:00
parent c433167950
commit 22fd2aed02

View File

@ -55,14 +55,4 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
Postgres("SELECT 0;").
Mysql("ALTER TABLE dashboard_snapshot MODIFY dashboard MEDIUMTEXT;"))
// add column to store creator of a dashboard snapshot
mg.AddMigration("Add column created_by in dashboard_snapshot", NewAddColumnMigration(snapshotV5, &Column{
Name: "created_by", Type: DB_BigInt, Nullable: true,
}))
// add column to store updater of a dashboard snapshot
mg.AddMigration("Add column updated_by in dashboard_snapshot", NewAddColumnMigration(snapshotV5, &Column{
Name: "updated_by", Type: DB_BigInt, Nullable: true,
}))
}