Skip to content

Conversation

@raul-benavente
Copy link

User preferences are set once user is created.

This solves a bug that happens when you fail at user registration.

You got this error message:

FALLO al gestionar las preferencias de notificación SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (goteodb_PRO.user_prefer, CONSTRAINT user_prefer_ibfk_1 FOREIGN KEY (user) REFERENCES user (id) ON DELETE CASCADE ON UPDATE CASCADE)

User preferences are set once user is created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant