"Cannot delete or update a parent row: a foreign key constraint fails"
message when dropping tables with relationships between them, you can set the flag
SET FOREIGN_KEY_CHECKS=0;
at the very beginning of your sql script.
Parler de tout et de n'importe nawak
SET FOREIGN_KEY_CHECKS=0;
No comments:
Post a Comment