启动与授权-初步优化
This commit is contained in:
@@ -361,12 +361,14 @@ CREATE TABLE IF NOT EXISTS public.startup_ethics (
|
||||
CREATE TABLE IF NOT EXISTS public.kickoff_meetings (
|
||||
id uuid PRIMARY KEY,
|
||||
study_id uuid NOT NULL,
|
||||
site_id uuid,
|
||||
kickoff_date date,
|
||||
attendees json,
|
||||
created_by uuid,
|
||||
created_at timestamp with time zone NOT NULL DEFAULT now(),
|
||||
updated_at timestamp with time zone NOT NULL DEFAULT now(),
|
||||
CONSTRAINT fk_kickoff_meetings_study_id FOREIGN KEY (study_id) REFERENCES public.studies(id) ON DELETE RESTRICT,
|
||||
CONSTRAINT fk_kickoff_meetings_site_id FOREIGN KEY (site_id) REFERENCES public.sites(id) ON DELETE RESTRICT,
|
||||
CONSTRAINT fk_kickoff_meetings_created_by FOREIGN KEY (created_by) REFERENCES public.users(id) ON DELETE RESTRICT
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user