How do you switch from main branch to development branch in Planetscale + Prisma?

Trying to
npx prisma db push
npx prisma db push
but I keep getting this error
1 Reply
hakkub
hakkub2y ago
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
Want results from more Discord servers?
Add your server