I have set up a table that contains a column with a foreign key, set to ON DELETE CASCADE (delete child when parent is deleted)
ON DELETE CASCADE
What would the SQL com
Remember that MySQL keeps a simple index on a column after deleting foreign key. So, if you need to change 'references' column you should do it in 3 steps
drop index