Hi. Totaly new and question regarding deployment: ...
# orm-help
r
Hi. Totaly new and question regarding deployment: When my model changes, I need to run "prisma generate" which will generate new code for my models to the
node_modules
folder. When I check my new code in, this is not committed. So when I deploy my app to the server, the server does not have the new code until I run "npx prisma generate" there, too, right?
r
Hey @Robin 👋 Yes you would need to run
prisma geerate
while deploying this 🙂
You can add a
predeploy
script that will automatically run before your deploy script.
r
okay, thanks for the info 🙂
💯 1