datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
model Item1 {
id Int @id @default(autoincrement())
}
model item2 {
id Int @id @default(autoincrement())
}
upon further investingation I found that the original issue is not what I thought it was, so I updated the name and description
thankfully I can work around this quite easily
Example schema:
graphql/Item1/queries/findUnique.ts
compared to:
graphql/item2/queries/findUnique.ts