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

Chapter 3 and Chapter 4 Mern skeleton user.model.js need set email field with unique: true? #157

Open
lifan0913 opened this issue Aug 26, 2022 · 0 comments

Comments

@lifan0913
Copy link

In chapter 3 and chapter 4 user.model.js, email field is not set unique, if no unique: true field set. Thus can insert two user with the same email address. I find this may be a bug?

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

No branches or pull requests

1 participant