2 ms·
Well, depending how you configure your cascade clearing the user table could have cleared all the other tables also :) "on delete cascade"!
by eloisant 14y ago
Well, depending how you configure your cascade clearing the user table could have cleared all the other tables also :)
"on delete cascade"!
- mbell 14y agoTrue on MySql with InnoDB, wouldn't be true with postgres. You'd have to use TRUNCATE CASCADE on postgres to avoid the foreign key error.