id integer NOT NULL,
uuid uuid DEFAULT gen_random_uuid() NOT NULL,
created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
- created_by integer,
+ created_by_id integer,
deleted_at timestamp without time zone,
- deleted_by integer,
+ deleted_by_id integer,
finished_at timestamp without time zone,
failed boolean DEFAULT false NOT NULL,
tested_build_id integer
--
ALTER TABLE ONLY public.build_groups
- ADD CONSTRAINT build_groups_created_by FOREIGN KEY (created_by) REFERENCES public.users(id);
+ ADD CONSTRAINT build_groups_created_by FOREIGN KEY (created_by_id) REFERENCES public.users(id);
--
--
ALTER TABLE ONLY public.build_groups
- ADD CONSTRAINT build_groups_deleted_by FOREIGN KEY (deleted_by) REFERENCES public.users(id);
+ ADD CONSTRAINT build_groups_deleted_by FOREIGN KEY (deleted_by_id) REFERENCES public.users(id);
--