create table notification_options ( key text primary key not null, created_at timestamptz not null default now() ); insert into notification_options (key) values ('always'); insert into notification_options (key) values ('on_failure'); insert into notification_options (key) values ('on_state_change'); insert into notification_options (key) values ('on_state_change_and_failures'); insert into notification_options (key) values ('never');