prisma migrate remote database schema?
Hey there!
Is there any best practices on how to migrate schema on remote database? Should I just connect to it manually and make migration?
3 Replies
https://www.prisma.io/docs/guides/deployment/deploy-database-changes-with-prisma-migrate Prisma recommends running migrate deploy in the CI/CD pipeline
Prisma
Deploying database changes with Prisma Migrate
Learn how to deploy database changes with Prisma Migrate.
Another option is if you’re using planetscale to just db push to planet scale and merge the db branch to main
gotcha, thanks!