Skip to content

v2.11.0

Compare
Choose a tag to compare
@AhmedElywa AhmedElywa released this 05 Jan 17:26

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[]
}