Bit of a noob here when it comes to the backend. I...
# orm-help
s
Bit of a noob here when it comes to the backend. I am looking at using GitHub Actions for continuous integration. My question is do you guys also push the migration files in prisma/migrations or no? Will these pushed migration files be used in any case when running
npx prisma migrate deploy
?
m
Yes, those files should be pushed and they are the ones used by npx prisma migrate deploy. When you run that command, prisma will check which migrations your database already have, and which don’t, and only run the ones that are needed
👍 1
s
Got it, thank you for answering.