MarseyWorld/sql/20220909-marsey-submissin-u...

7 lines
252 B
MySQL
Raw Normal View History

2022-09-09 09:13:50 +00:00
alter table marseys add column submitter_id int;
ALTER TABLE ONLY public.marseys
ADD CONSTRAINT marsey_submitter_fkey FOREIGN KEY (submitter_id) REFERENCES public.users(id);
2022-09-14 08:29:44 +00:00
CREATE INDEX marseys_idx4 ON public.marseys USING btree (submitter_id);