v2.11.0
Upgrade to Prisma 2.14
Generator
- make nexus code more simple.
- add a description field to types from the schema.prisma file
/// User Model will add to Graphql User type
model User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
email String @unique
name String?
password String
/// user Posts relation
/// will add to Graphql field
posts Post[]
}