backenddatabasessystem-design
A safer sequence for a live schema change
Anonymous
For a schema change that must work with old and new code during deployment, expand first: add the new field in a backward-compatible way, update readers and writers, backfill, then switch reads and remove the old field after old code is gone. Data deletion is harder to undo than adding a nullable field.
0