From 3db75f9e2897fe1ec32706a1f0d8803473595f49 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 9 Nov 2026 09:38:39 +1100 Subject: [PATCH] fix(postgres): drop the removed schedules kind's apply status so archied is not degraded (#1834) --- .../migrations/0069_drop_schedules_apply_status.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 internal/infrastructure/postgres/migrations/0069_drop_schedules_apply_status.sql diff --git a/internal/infrastructure/postgres/migrations/0069_drop_schedules_apply_status.sql b/internal/infrastructure/postgres/migrations/0069_drop_schedules_apply_status.sql new file mode 100644 index 000000000..d1fe86aa2 --- /dev/null +++ b/internal/infrastructure/postgres/migrations/0069_drop_schedules_apply_status.sql @@ -0,0 +1,7 @@ +-- The schedules resource was removed in 0065; its apply status outlived it. + +-- +goose Up +DELETE FROM apply_status WHERE kind = 'schedules'; + +-- +goose Down +SELECT 1;