修复伦理与启动管理的显示问题

This commit is contained in:
Cheng Zhou
2025-12-19 11:28:34 +08:00
parent b475d4f763
commit 1e3e064871
4 changed files with 33 additions and 7 deletions
+10 -2
View File
@@ -321,6 +321,7 @@ CREATE TABLE public.milestones (
planned_date date,
actual_date date,
status character varying(20) NOT NULL,
site_id uuid,
owner_id uuid,
notes text,
created_at timestamp with time zone DEFAULT now() NOT NULL,
@@ -603,8 +604,8 @@ bbbbbbb1-bbbb-bbbb-bbbb-bbbbbbbbbbb1 44444444-4444-4444-4444-444444444444 555555
-- Data for Name: milestones; Type: TABLE DATA; Schema: public; Owner: ctms_user
--
COPY public.milestones (id, study_id, type, name, planned_date, actual_date, status, owner_id, notes, created_at, updated_at) FROM stdin;
66666666-6666-6666-6666-666666666666 44444444-4444-4444-4444-444444444444 SIV 2025-01-10 2025-01-12 DONE 22222222-2222-2222-2222-222222222222 2025-12-18 00:55:17.568504+00 2025-12-18 00:55:17.568504+00
COPY public.milestones (id, study_id, type, name, planned_date, actual_date, status, site_id, owner_id, notes, created_at, updated_at) FROM stdin;
66666666-6666-6666-6666-666666666666 44444444-4444-4444-4444-444444444444 SIV 2025-01-10 2025-01-12 DONE 55555555-5555-5555-5555-555555555555 22222222-2222-2222-2222-222222222222 2025-12-18 00:55:17.568504+00 2025-12-18 00:55:17.568504+00
\.
@@ -1503,6 +1504,13 @@ ALTER TABLE ONLY public.issues
ALTER TABLE ONLY public.milestones
ADD CONSTRAINT milestones_owner_id_fkey FOREIGN KEY (owner_id) REFERENCES public.users(id);
--
-- Name: milestones milestones_site_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: ctms_user
--
ALTER TABLE ONLY public.milestones
ADD CONSTRAINT milestones_site_id_fkey FOREIGN KEY (site_id) REFERENCES public.sites(id);
--
-- Name: milestones milestones_study_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: ctms_user