skip failed to parse rules and show the timestamp in the UI
This commit is contained in:
9
packages/db/migrations/0168.do.add_failed_at_to_rule.sql
Executable file
9
packages/db/migrations/0168.do.add_failed_at_to_rule.sql
Executable 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;
|
||||
9
packages/db/migrations/0168.undo.add_failed_at_to_rule.sql
Executable file
9
packages/db/migrations/0168.undo.add_failed_at_to_rule.sql
Executable 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;
|
||||
Reference in New Issue
Block a user