Skip to content

Instantly share code, notes, and snippets.

@Sivamanim
Created January 13, 2018 12:04
Show Gist options
  • Save Sivamanim/95234117c29f4edecfceedc6f2c44cb3 to your computer and use it in GitHub Desktop.
Save Sivamanim/95234117c29f4edecfceedc6f2c44cb3 to your computer and use it in GitHub Desktop.
ALTER TABLE shop_menu
ADD CONSTRAINT shop_id
FOREIGN KEY (shop_id) REFERENCES shop_details(id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment