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

Apply a unique index to the user name field #168

Closed
MrDave1999 opened this issue Feb 28, 2023 · 0 comments · Fixed by #175
Closed

Apply a unique index to the user name field #168

MrDave1999 opened this issue Feb 28, 2023 · 0 comments · Fixed by #175
Labels
database Issue or pull request related to database

Comments

@MrDave1999
Copy link
Member

MrDave1999 commented Feb 28, 2023

This constraint is necessary to avoid duplicate entries such as a username.

See https://enterprisecraftsmanship.com/posts/handling-unique-constraint-violations/.

@MrDave1999 MrDave1999 converted this from a draft issue Feb 28, 2023
@MrDave1999 MrDave1999 changed the title Apply unique index on primary fields of the database Apply a unique index to the user name field Feb 28, 2023
@MrDave1999 MrDave1999 added the database Issue or pull request related to database label Feb 28, 2023
@github-project-automation github-project-automation bot moved this from To Do to Done in DentallApp (first stage) Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Issue or pull request related to database
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant