Skip to content
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

Fix duplicate invites #1437

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Fix duplicate invites #1437

merged 2 commits into from
Nov 8, 2024

Conversation

tonyvince
Copy link
Contributor

Fix #1436

@Shpigford
Copy link
Member

This pull request introduces a new validation to ensure that an email can only be invited once per family and adds a unique index to enforce this constraint at the database level. The most important changes include updating the Invitation model and modifying the database schema to include the new unique index.

Model validation updates:

Database schema updates:

@Shpigford Shpigford merged commit b3ef995 into maybe-finance:main Nov 8, 2024
5 checks passed
@Shpigford
Copy link
Member

Thanks @tonyvince!

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.

Bug: Household invite makes different accounts for the same e-mail
2 participants