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
When I run yarn run prisma studio I get a warning after a bit saying warn(prisma-client) Already 10 Prisma Clients are actively running..
How to reproduce
Expected behavior
One instance of the prisma client
Prisma information
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
generator docs {
provider = "node node_modules/prisma-docs-generator"
output = "../../docs"
}
// --------------------------------------
enum JobType {
PART_TIME
FULL_TIME
}
enum Role {
ADMINISTRATOR
EMPLOYER
INTERN
STANDARD
}
// --------------------------------------
model User {
id Int @id @default(autoincrement())
email String @unique
password String
username String @unique
role Role
name String?
picture String
jobApplications JobApplication[]
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model JobApplication {
id Int @id @default(autoincrement())
description String
internId Int
internInformation User @relation(fields: [internId], references: [id])
jobId Int
job Job @relation(fields: [jobId], references: [id])
}
model Job {
id Int @id @default(autoincrement())
position String
description String
industry String
jobType JobType
skillsRequired String[]
numOfOpenings Int @default(1)
expirationData DateTime?
duration String
postedAt DateTime @default(now())
applications JobApplication[]
companyId Int
Company Company @relation(fields: [companyId], references: [id])
}
model Company {
id Int @id @default(autoincrement())
name String @unique
description String
logo String?
website String?
industry String
foundedYear Int
jobs Job[]
}
Bug description
When I run
yarn run prisma studio
I get a warning after a bit sayingwarn(prisma-client) Already 10 Prisma Clients are actively running.
.How to reproduce
Expected behavior
One instance of the prisma client
Prisma information
Environment & setup
v16.6.0
Prisma Version
The text was updated successfully, but these errors were encountered: