mysql drop foreign key constraint code example
Example 1: mysql remove foreign key constraint
ALTER TABLE jobs DROP FOREIGN KEY constraint_name
Example 2: mysql alter add foreign key
ALTER TABLE ordenes ADD ticket VARCHAR(50) NOT NULL;
ALTER TABLE ordenes ADD CONSTRAINT fk_ticket FOREIGN KEY (ticket) REFERENCES tickets(ticket);
Example 3: mysql drop key
ALTER TABLE tbl_quiz_attempt_master
DROP INDEX `PRIMARY`;