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

Bug Fix: Updating Asset model schema #38

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

mrkarimoff
Copy link
Contributor

@mrkarimoff mrkarimoff commented Dec 4, 2023

This PR fixes the Invalid prisma.protocol.create() invocation error by removing @unique from the key field of the Asset model.

Note: Prisma doesn't allow using @id and @unique on the same field
Issue here: prisma/prisma#3236

Copy link

vercel bot commented Dec 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
fresco ✅ Ready (Inspect) Visit Preview Dec 4, 2023 0:28am

@jthrilly
Copy link
Member

jthrilly commented Dec 4, 2023

Great find @mrkarimoff!

@jthrilly jthrilly merged commit 040d793 into main Dec 4, 2023
3 checks passed
@jthrilly jthrilly deleted the fix/protocol-create-query branch April 16, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants