-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry, unexpected error: (_mysql_exceptions.IntegrityError) #150
Comments
You cannot delete teams that have been in matches. If you wish to delete a team you must:
It's been listed in this repository before, that you cannot delete a team once they have been given matches, as per stated in #30 like before. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unable to delete team
Sorry, unexpected error: (_mysql_exceptions.IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign key constraint fails (
get5.
match, CONSTRAINT
match_ibfk_3FOREIGN KEY (
team2_id) REFERENCES
team(
id))') [SQL: u'DELETE FROM team WHERE team.id = %s'] [parameters: (2,)]
how to fix? help guys
The text was updated successfully, but these errors were encountered: