forked from rDrama/rDrama
sneed
parent
3061801270
commit
0ea0b0c439
|
@ -1883,12 +1883,3 @@ ALTER TABLE ONLY public.viewers
|
||||||
|
|
||||||
ALTER TABLE ONLY public.votes
|
ALTER TABLE ONLY public.votes
|
||||||
ADD CONSTRAINT vote_submission_key FOREIGN KEY (submission_id) REFERENCES public.submissions(id);
|
ADD CONSTRAINT vote_submission_key FOREIGN KEY (submission_id) REFERENCES public.submissions(id);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: votes vote_user_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
ALTER TABLE ONLY public.votes
|
|
||||||
ADD CONSTRAINT vote_user_fkey FOREIGN KEY (user_id) REFERENCES public.users(id);
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue