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

🔥 Backend Trouble Shooting Log #7

Open
jasper-oh opened this issue May 7, 2023 · 1 comment
Open

🔥 Backend Trouble Shooting Log #7

jasper-oh opened this issue May 7, 2023 · 1 comment

Comments

@jasper-oh
Copy link
Contributor

Screenshot 2023-05-07 at 11 33 25 AM

If you already have users collection, but you need to put another UNIQUE index such as penName after, then you need to PUT THE PENNAME INDEX in previous users collection.
@jasper-oh
Copy link
Contributor Author

jasper-oh commented May 7, 2023

Screenshot 2023-05-07 at 11 35 04 AM

When You got this error in Postman, then you need to run this Command. "npx prisma db push" Then should be work!

🔥 CAUTION -> THIS COMMAND IMPACT TO MONGODB COLLECTION

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

1 participant