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
I tried to set which field in my database model should be considered as primary key using:
{ resource: { model: dmmf.modelMap.User, client: prisma }, options: { properties: { userId: { isId: true } } } }
but it seems not working because resource properties are generated from prisma model without specified options
OS: macOS Monterey Database: PostgreSQL Node.js version: 16.14.2
[email protected] adminjs/[email protected]
[email protected] prisma/[email protected]
The text was updated successfully, but these errors were encountered:
Thanks for looking into it, would be really great to fix
@dziraf could you take a look?
Sorry, something went wrong.
No branches or pull requests
Bug description
I tried to set which field in my database model should be considered as primary key using:
but it seems not working because resource properties are generated from prisma model without specified options
Environment & setup
OS: macOS Monterey
Database: PostgreSQL
Node.js version: 16.14.2
AdminJS Version
[email protected]
adminjs/[email protected]
Prisma Version
[email protected]
prisma/[email protected]
The text was updated successfully, but these errors were encountered: