Migrations
posts (3)
- Testing Through Layers: From Code to Infrastructure7/9
Migration Tests and Data Tests: Safe State Changes
A migration test checks schema and data changes, while a data test protects state compatibility. This layer decides whether a release can be rolled back safely.
- Recovery from the Ground Up: Rollback, PITR, and Returning After Failure2/5
Rolling Back a Release: Code Is the Easy Part
Release rollback often looks like returning to the previous application image. In practice, the hard parts are data, migrations, and side effects that already…
- series · 5 parts
Recovery from the Ground Up: Rollback, PITR, and Returning After Failure
Recovery does not start with a large disaster recovery plan. It starts with a simple question: what exactly do we need to return to, and how much can we lose?