data branching planetscale

new to database stuff, im about to seed a database for a developer environment to test on. when im happy i was thinking i could then just merge the schema to production (without the data), looking at the docs there is a databranching feature https://planetscale.com/docs/concepts/data-branching but this is premium. I guess the usual approach is to make a separate database, but this is also another cost. Wondering how any of you planetscale users work in development?
Data Branching®
Create a development or staging environment for your database pre-seeded with data and schema
2 Replies
JLN
JLN9mo ago
u can use the planetscale cli, checkout the production branch, pscale database dump, switch to development branch, pscale database restore-dump thats how I did it it most of the time
Jim
Jim9mo ago
thank you @JLN ill check out those commands