P
Prisma8mo ago
Bean

StringFieldUpdateOperationsInput on @id

when I have a schema set up like this:
model User {
hash String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
model User {
hash String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
why does the generated type have this in the update type: the ID field should never be able to be unset right? so why does this type exist?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server