PrismaP
Prisma3mo ago
2 replies
devrev1

Unique constraint failed on the constraint: `dbo.User`

Hello, I'm new to prisma and am learning how to use the createMany method. I keep receiving the error stated in the title but don't understand why. When I use the create method and run the script it successfully creates a new user.
Screenshot_2025-11-18_110504.png
Screenshot_2025-11-18_110510.png
Screenshot_2025-11-18_110643.png
Was this page helpful?