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

Prevent duplicate Requests on same roster. #156

Open
mhudson opened this issue Oct 2, 2022 · 0 comments
Open

Prevent duplicate Requests on same roster. #156

mhudson opened this issue Oct 2, 2022 · 0 comments
Assignees

Comments

@mhudson
Copy link
Member

mhudson commented Oct 2, 2022

We have had issues in the past with >1 request for the same roster existing.
it isn't possible to constrain this via the database, so it needs to be done in the model.

Uniqueness constraint needed on Request model for

  • User,
  • Roster
  • Request.status = ‘open’ (only)
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

No branches or pull requests

2 participants