physically remove foreign key myslq code example
Example 1: mysql remove foreign key constraint
ALTER TABLE jobs DROP FOREIGN KEY constraint_name
Example 2: drop all foreign key constraints mysql
SET foreign_key_checks = 0;
ALTER TABLE jobs DROP FOREIGN KEY constraint_name
SET foreign_key_checks = 0;