Home / Companies / PlanetScale / Blog / Post Details
Content Deep Dive

Automatically copy migration data in PlanetScale branches

Blog post from PlanetScale

Post Details
Company
Date Published
Author
Taylor Barnett
Word Count
277
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

Never accidentally reapply a past migration again! We’ve removed another barrier to using PlanetScale branches with the framework or migration tool of your choice. Now, you can automatically persist schema changes in your migration table across database branches. Many frameworks and migration tools keep track of database schema changes in a migration table that includes data about what migrations have been applied and in what order. With this feature, you can now turn on the ability to automatically copy migration data from these tables any time you open a deploy request or make a new database branch. You can specify the name of your framework or migration tools’ migration table name. This feature fits into your existing workflow by allowing you to see how it works with Prisma in a TypeScript application. Many frameworks and migration tools will use a similar workflow, so give this feature a try!

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.