Update the unique Fields

prisma

#1
type User @db(name: "users") {
 id: ID! @id
 name: String!
 email: String! @unique
}

As I am trying to update the email it is giving me an error

"message": "A unique constraint would be violated on User. Details: Field name = email",

#2

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.