snapshots: Add external_delete_url column

This commit is contained in:
Victor Cinaglia 2018-12-10 16:25:02 -05:00
parent b380f74131
commit d9d6a4481f
No known key found for this signature in database
GPG Key ID: 2D68FAE898258503

View File

@ -60,4 +60,8 @@ func addDashboardSnapshotMigrations(mg *Migrator) {
{Name: "external_url", Type: DB_NVarchar, Length: 255, Nullable: false},
{Name: "dashboard", Type: DB_MediumText, Nullable: false},
}))
mg.AddMigration("Add column external_delete_url to dashboard_snapshots table", NewAddColumnMigration(snapshotV5, &Column{
Name: "external_delete_url", Type: DB_NVarchar, Length: 255, Nullable: true,
}))
}