I have a schema of the following: ```enum MemberRo...
# prisma-client
g
I have a schema of the following:
Copy code
enum MemberRole {
  Owner
  Viewer
  Editor
  Unauthorized
}

model Member {
  id      String         @id @default(uuid())
  role    MemberRole @default(Unauthorized)
  pending Boolean?       @default(true)

  user   User   @relation(fields: [userId], references: [id])
  userId String

  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}
And using prisma client, I’m trying to create a new
Member
like the image attached. For some reason, the role property isn’t showing up even though I tried running generate, and
db push
multiple times. Am I doing something wrong?
r
@Gautam Paranjape 👋 Looks fine to me. Could you try restarting/updating VSCode and check? Sometimes that could be an issue.
g
@Ryan Thank you, that worked!
💯 1