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.