Skip to content

Instantly share code, notes, and snippets.

@fire
Created July 5, 2015 17:06
Show Gist options
  • Save fire/aaa268455cf56160f842 to your computer and use it in GitHub Desktop.
Save fire/aaa268455cf56160f842 to your computer and use it in GitHub Desktop.
ALTER TABLE assemblage_component
delete primary key (assemblage_id, component_id);
ALTER TABLE distributors ADD CONSTRAINT distfk FOREIGN KEY (address) REFERENCES addresses (address) MATCH FULL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment