Merge branch 'main' into MED-85
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE medreport.accounts
|
||||
DROP COLUMN IF EXISTS public_data;
|
||||
|
||||
create type medreport.locale as enum ('en', 'et', 'ru');
|
||||
|
||||
ALTER TABLE medreport.accounts
|
||||
ADD COLUMN preferred_locale medreport.locale
|
||||
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user