Just learn there\'s a SET foreign_key_checks = 0; setting from https://www.mysqltutorial.org/mysql-foreign-key/, which is said to be useful when:
SET foreign_key_checks = 0;
<