temporarily disable foreign key constraints in MySQL


PHOTO EMBED

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

Saved by @polysoulz #django #python

SET FOREIGN_KEY_CHECKS=0;
content_copyCOPY

for Django web framework

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