PlanetScale

Deploy requests now alert on potential unwanted changes

Jul 6, 2022Mike Coutermarsh
Deploy requests now alert on potential unwanted changes
SummaryAI, from the source post

This post introduces a new UI warning in PlanetScale's deploy request UI that alerts developers to potential data loss from schema changes, such as dropping columns or tables. It also details a safe, multi-step process for renaming columns to avoid downtime, involving creating new columns, double writes, backfilling data, and then dropping the old column.

More from the Database Branching and Blue/Green Deployments trail