Anyone else has a problem with `PRISMA_MANAGEMENT_...
# orm-help
k
Anyone else has a problem with
PRISMA_MANAGEMENT_API_SECRET
after updating the cli? I have no idea what should be the value for it...
Found it in my heroku settings. I'm just wondering how did deployment work without it until now.
d
If you are logged in and deploying to a server connected with Prisma cloud. The CLI automatically resolves the management secret for you. However, 1.26.6 on-wards this bug: https://github.com/prisma/prisma/issues/4069 Prevents that from happening and you have to manually add it to environment for now. This would be resolved soon.
k
Cool, tnx. I have another question. I added a "Settings" entity to my datamodel.graphql, and I deployed it. In the generated code there's only
createSettings
but no
updateSettings
,
upsertSettings
etc.
I've tried deleting the generated folder, adding/removing properties from the entity, but nothing works
d
Does it have a unique field?
k
It would be ok if you reply "maybe because you're missing an
id
field, idiot"
yup
that was it 🤦‍♂️
💚 2