How do you push schema changes to a dev branch with planetscale and prisma
How do you push schema changes to a dev branch with planetscale/prisma
5 Replies
Have you been able to resolve this issue? I'm having the same issue.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
You're right, I just don't know how to push the change to the development branch instead 😅
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
You would need to create a dev branch that is branched off of production in your planetscale dashboard. Then use that connection string locally in your code.
Then to deploy any changes to dev you just run npx prisma migrate dev
Then when you want to merge those changes on the dev branch to production, you would create a deploy request in the PS dashboard.