MySQL Desative as verificações de chave estrangeira
SET FOREIGN_KEY_CHECKS=0;
Enchanting Echidna
SET FOREIGN_KEY_CHECKS=0;
ALTER TABLE jobs DROP FOREIGN KEY constraint_name
SET foreign_key_checks = 0;
Code language: SQL (Structured Query Language) (sql)