You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently found out that PlanetScale's db branching is essentially branching just the schema, not data, so when you branch it essentially creates a real empty db with the schema changes that you can develop against and iterate on, and then throw away if it doesn't work out.
I think declarative schema migration tools like fauna-schema-migrate is definitely a step in the right direction compared to traditional approach of writing imperative migration scripts, but TBH the more I learn about the PlanetScale db branching approach the more jealous I become.
I don't plan on switching anytime soon because I much prefer Fauna's consistency model, but I have to wonder if the team has given any thought to potentially implementing this kind of workflow as a first class citizen? Seems like all the primitives (child dbs, declarative migrations, etc) are already available.
The text was updated successfully, but these errors were encountered:
I recently found out that PlanetScale's db branching is essentially branching just the schema, not data, so when you branch it essentially creates a real empty db with the schema changes that you can develop against and iterate on, and then throw away if it doesn't work out.
I think declarative schema migration tools like fauna-schema-migrate is definitely a step in the right direction compared to traditional approach of writing imperative migration scripts, but TBH the more I learn about the PlanetScale db branching approach the more jealous I become.
I don't plan on switching anytime soon because I much prefer Fauna's consistency model, but I have to wonder if the team has given any thought to potentially implementing this kind of workflow as a first class citizen? Seems like all the primitives (child dbs, declarative migrations, etc) are already available.
The text was updated successfully, but these errors were encountered: