MarseyWorld/sql/20220910-hat-submissin-ui.sql

7 lines
269 B
MySQL
Raw Normal View History

2022-09-10 05:37:11 +00:00
alter table hat_defs add column submitter_id int;
ALTER TABLE ONLY public.hat_defs
ADD CONSTRAINT hat_def_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id);
2022-09-14 08:29:44 +00:00
CREATE INDEX hat_defs_submitter_id_idx ON public.hat_defs USING btree (submitter_id);