Jul 13, 2018

Enable/disable a foreign key constraint in MySQL

SET FOREIGN_KEY_CHECKS=0;

SET FOREIGN_KEY_CHECKS=1;