How do you switch from main branch to development branch in Planetscale + Prisma?
Trying to but I keep getting this error

1 Reply
You need to create a new branch that is branched off of production. Upon creating this new branch, you will get a new connection string.
Use that new connection string locally in your dev env. Then you would run npx prisma migrate dev to push any schema changes