add alarm mapping to notifications

This commit is contained in:
Gibheer 2018-12-11 13:24:42 +01:00
parent 02925bc335
commit 5661459628

View File

@ -83,7 +83,8 @@ CREATE TABLE public.notifications (
states integer[] NOT NULL, states integer[] NOT NULL,
output text, output text,
inserted timestamp with time zone DEFAULT now() NOT NULL, inserted timestamp with time zone DEFAULT now() NOT NULL,
sent timestamp with time zone sent timestamp with time zone,
mapping_id integer not null references mappings(id),
); );