0 points

temporarily disable foreign key constraints in MySQL


dashboard

Mon May 11 2020 13:44:16 GMT+0000 (UTC)

Posted by @polysoulz #django #python

SET FOREIGN_KEY_CHECKS=0;
content_copy Copy

for Django web framework

https://stackoverflow.com/questions/15501673/how-to-temporarily-disable-a-foreign-key-constraint-in-mysql