The Expand/Contract Method is a tool for safe database changes
Expand: add new schema elements
Migrate: move code to these
Contract: remove old elements
@jasminfluri.bsky.social discusses using it to
Rename a column
Split a table
Change the data type of a column
buff.ly
Expand and Contract Method for Database Changes
The Expand and Contract pattern is an iterative, backwards-compatible technique to apply database changes in small, safe steps.