Hey people. I've been battling with a challenge. I...
# orm-help
a
Hey people. I've been battling with a challenge. I lost my prisma.graphql file and after deploying over again, it doesn't get regenerated. What could be a possible solution to this?
✅ 1
s
Have you tried
prisma generate
? I had a similar problem and needed to add these lines to my prisma.yml:
Copy code
endpoint: <https://something>
datamodel: datamodel.prisma

generate:
  - generator: javascript-client
    output: ./generated/prisma-client/
  - generator: graphql-schema
    output: ./generated/schema
a
Great. I haven't. Let me go ahead and do that. Will get back to you.
Copy code
generate:
    - generator: graphql-schema
      output: ./src/generated
Done! It seems prisma generate does generate what's specified in
generator
and outputs it to
output
great. Thanks!
s
Okay cool. That had me stuck for hours!
a
Your hours are my savior. I was going to start all over again! 💵
🙌 1