Skip to content

Instantly share code, notes, and snippets.

@tairov
Created June 3, 2017 05:17
Show Gist options
  • Save tairov/67a0fdfc46ae4b860d62e6fd0154461d to your computer and use it in GitHub Desktop.
Save tairov/67a0fdfc46ae4b860d62e6fd0154461d to your computer and use it in GitHub Desktop.
Disable foreign keys checking by call this query : "set foreign_key_checks=0;"
Enable back foreign key checking with : "set foreign_key_checks=1;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment