foreign key constraint check false code example
Example 1: foreign key set 0
SET FOREIGN_KEY_CHECKS=0;
Example 2: mariadb disable foreign key checks
SET FOREIGN_KEY_CHECKS=0;
SET FOREIGN_KEY_CHECKS=0;
SET FOREIGN_KEY_CHECKS=0;