skip failed to parse rules and show the timestamp in the UI

This commit is contained in:
Hongbo Wu
2024-03-17 12:38:23 +08:00
parent 2fc6fd6e93
commit 9af4235233
10 changed files with 65 additions and 7 deletions

View File

@ -0,0 +1,9 @@
-- Type: DO
-- Name: add_failed_at_to_rule
-- Description: Add failed_at column to rules table
BEGIN;
ALTER TABLE omnivore.rules ADD COLUMN failed_at timestamptz;
COMMIT;

View File

@ -0,0 +1,9 @@
-- Type: UNDO
-- Name: add_failed_at_to_rule
-- Description: Add failed_at column to rules table
BEGIN;
ALTER TABLE omnivore.rules DROP COLUMN failed_at;
COMMIT;