Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common audioDB issue clogs up the database connection pool #22

Open
Sheraff opened this issue Nov 24, 2022 · 1 comment
Open

Common audioDB issue clogs up the database connection pool #22

Sheraff opened this issue Nov 24, 2022 · 1 comment

Comments

@Sheraff
Copy link
Owner

Sheraff commented Nov 24, 2022

0|soft-serve-tunes  | 2022-11-24T19:25:52: Invalid `prisma.audioDbTrack.create()` invocation:
0|soft-serve-tunes  | 2022-11-24T19:25:52: 
0|soft-serve-tunes  | 2022-11-24T19:25:52: Unique constraint failed on the fields: (`idTrack`)
@Sheraff
Copy link
Owner Author

Sheraff commented Nov 24, 2022

Maybe in AudioDbTrack

entityId String? @unique
entity   Track?  @relation(fields: [entityId], references: [id])

There shouldn't be a @unique track, but a list? But why tho?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant