Migrations
Operations · Migrations
Operational objective — Change persisted state while old and new application versions may coexist.Expand-migrate-contract plans, backfills, compatibility windows, and rollback boundaries.
Key concepts
Compatibility
Old plus new
Backfill
Bounded batches
Rollback
State-aware
Operational surface
Evidence over assumption
Operational context
A schema change is deployed across time; code, workers, replicas, and operators do not switch versions simultaneously.Operator’s principle The safest migration is a sequence of compatible states, not one clever statement.
Implementation notes
Decision lens
Jeston migration runner
Jeston 2.0.0 includes a provider-neutralcreateMigrationRunner contract. Migration files use deterministic names such as 0001_users.up.sql and 0001_users.down.sql.
Related topics
- database · Review database boundaries — Read the focused guide for this boundary.
- cloud-arrow-up · Coordinate rollout — Read the focused guide for this boundary.
- power-off · Control backfills — Read the focused guide for this boundary.

