Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Fix duplicate invites#1437

Merged
Shpigford merged 2 commits intomaybe-finance:mainfrom
tonyvince:fix-1436
Nov 8, 2024
Merged

Fix duplicate invites#1437
Shpigford merged 2 commits intomaybe-finance:mainfrom
tonyvince:fix-1436

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
@Shpigford
Copy link
Member

Thanks @tonyvince!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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