monki boi
DTDrizzle Team
•Created by monki boi on 11/9/2023 in #help
Unable to delete from many to many relationship due to FK constraint
I have the following schema,
Users
<> Teams
- many to many
usersOnTeams - table to hold this relationship
I'm currently unable to delete a Team
record due to the foreign key of the team still existing in the usersOnTeams
table record.
I know it has something to do with cascading deletes but I'm not sure how. Any help is appreciated.
6 replies