We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description and expected behavior
I'm trying to add typings to a JsonB array column:
model Cost { distribution Json[] @db.JsonB }
I tried
model Cost { distribution Distribution[] @json } type Distribution { amount Float? rate Float? }
but then the generated prisma schema has:
model Cost { distribution Json }
I'm expecting:
basically there are 2 problems (or maybe missing features):
any help would be appreciated 👍
Environment:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description and expected behavior
I'm trying to add typings to a JsonB array column:
I tried
but then the generated prisma schema has:
I'm expecting:
basically there are 2 problems (or maybe missing features):
any help would be appreciated 👍
Environment:
The text was updated successfully, but these errors were encountered: