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

Create Unique Constraint on Usernames #27

Open
ava-cassiopeia opened this issue Oct 18, 2016 · 0 comments
Open

Create Unique Constraint on Usernames #27

ava-cassiopeia opened this issue Oct 18, 2016 · 0 comments

Comments

@ava-cassiopeia
Copy link
Member

Usernames, as well as email, should be unique. This means adding a new migration to add the constraint to the users table, as well as adding the logic to check for this ahead of time server-side so that someone signing up can be told that a username is bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant