Live DB migrations: what mistake caused delayed issues?

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Adding a nullable column without backfilling old rows caused delayed failures weeks later when new code assumed the field existed on all records. The fix was making backfills mandatory before any code uses the new column, treating migrations as features rather than afterthoughts.

1m watch time

Sort: