* MED-145: send notification to patient when summary completed * MED-145: send notification to patient when summary completed * use aliased imports where possible, revert cart service urls * save language preference to local db * remove unnecessary optional chaning
14 lines
479 B
SQL
14 lines
479 B
SQL
create type "audit"."action_status" as enum ('SUCCESS', 'FAIL');
|
|
|
|
create table audit.notification_entries (
|
|
"id" bigint generated by default as identity not null,
|
|
"status" audit.action_status not null,
|
|
"action" text not null,
|
|
"comment" text,
|
|
"related_record_key" text,
|
|
"created_at" timestamp with time zone not null default now()
|
|
);
|
|
|
|
grant usage on schema audit to authenticated;
|
|
grant select, insert on table audit.notification_entries to authenticated;
|