Revert "Alerting: Refactor the ImageStore/Provider to provide image URL/bytes" (#69265)

Revert "Alerting: Refactor the ImageStore/Provider to provide image URL/bytes (#67693)"

This reverts commit 72a187b0be.
This commit is contained in:
Alexander Weaver
2023-05-30 11:33:33 -05:00
committed by GitHub
parent 27c18b8c0c
commit 0ed5d3bdf2
10 changed files with 31 additions and 365 deletions
@@ -24,11 +24,6 @@ func AddTablesMigrations(mg *migrator.Migrator) {
mg.AddMigration("add last_applied column to alert_configuration_history", migrator.NewAddColumnMigration(migrator.Table{Name: "alert_configuration_history"}, &migrator.Column{
Name: "last_applied", Type: migrator.DB_Int, Nullable: false, Default: "0",
}))
mg.AddMigration("add index in alert_image on url", migrator.NewAddIndexMigration(migrator.Table{Name: "alert_image"}, &migrator.Index{
Cols: []string{"url"}, Type: migrator.IndexType,
}))
// End of migration log, add new migrations above this line.
}
// historicalTableMigrations contains those migrations that existed prior to creating the improved messaging around migration immutability.