You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = "file:./dev.db"
}
model User {
email String @unique
id Int @default(autoincrement()) @id
name String?
posts Post[]
}
model Post {
authorId Int?
content String?
id Int @default(autoincrement()) @id
published Boolean @default(false)
title String
author User? @relation(fields: [authorId], references: [id])
}
The error:
Studio version: 0.267.0
Schema:
The project & database is from the Prisma Next.js example project.
https://github.com/prisma/prisma-examples/tree/master/javascript/rest-nextjs
The text was updated successfully, but these errors were encountered: