You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occured [[{"code":"ER_ROW_IS_REFERENCED","errno":1217,"sqlState":"23000","index":0,"sql":"DROP TABLE IF EXISTS `users`;"}],[{"code":"ER_ROW_IS_REFERENCED","errno":1217,"sqlState":"23000","index":0,"sql":"DROP TABLE IF EXISTS `languages`;"}]]
because of references, it cannot drop 2 tables.
What can I do to force it?
The text was updated successfully, but these errors were encountered:
You can execute a query that turns off foreign key constraints, atleast that's what i've seen someone else do to resolve this issue (don't recall the exact issue right now but it was similar).
Hi;
I am syncing db with my models everytime I start my server.
After adding references, I am getting:
because of references, it cannot drop 2 tables.
What can I do to force it?
The text was updated successfully, but these errors were encountered: