Guest User

Untitled

a guest
Jun 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. ALTER TABLE <table name> WITH NOCHECK
  2. ADD CONSTRAINT attachments_user_id_fkey FOREIGN KEY (user_id)
  3. REFERENCES public.users (id) MATCH SIMPLE
  4. ON UPDATE NO ACTION
  5. ON DELETE NO ACTION;
Add Comment
Please, Sign In to add comment