Commit 22fd2aed by utkarshcmu

Removed columns from snapshot table

parent c4331679
......@@ -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,
}))
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment