Schema migration
A controlled, versioned change to how a database stores data — adding tables, merging modules, reshaping fields — applied in order and tracked like code.
Why it costs you money
Done carelessly, it's how history disappears: records dropped, fields overwritten, audit trails rewritten. Done properly, every change is rehearsed, gated, and provable — so the system can evolve without losing a byte of the past.
What agencies say vs what it means
“We'll evolve the data model as requirements emerge.”
“Every change to your data's structure is scripted, rehearsed on a copy first, and checked so nothing is lost — not improvised on the live database.”
Editable placeholder — launch-ready draft. Refine the wording before publishing.
A schema migration is a controlled change to how a database stores data: new tables, merged modules, reshaped fields. The key word is controlled — each change is a versioned script, applied in order, tracked like code, and provable after the fact.
The alternative — editing the live database by hand, or letting a tool push whatever the current code happens to describe — is how history disappears.
In practice
Migrations are where a product's past is either protected or lost. The careless version drops records, overwrites fields, and rewrites audit trails. The careful version looks like this, from a real unification we shipped (two CRM modules merged into one):
- Every historical record moved one-to-one, activity logs intact, with a quiet "migrated from" label so nothing about the past became a mystery.
- Audit history was re-pointed, never rewritten.
- Hard gates abort the migration rather than corrupt a single row.
- An archive export ran before any transform.
- The whole thing was rehearsed on a production copy first.
Nine migrations applied. Zero rows lost. That receipt is the point: a migration you can prove is a migration you can trust — and trust is what lets a system keep evolving instead of freezing in fear.
What to ask before you pay for it
- Are schema changes versioned scripts, or improvised on the live database?
- What is rehearsed before a risky change, and on what copy?
- If a migration goes wrong halfway, what stops it — and what is the recovery path?
- How will you prove nothing was lost?
Migrations are where tech debt gets paid down or compounded, and they are guarded by regression testing. The full subtraction story — including the zero-loss receipt — is in the best feature we ever shipped was a deletion.
How we handle it
We rehearse risky migrations on a production copy, gate them so they abort rather than corrupt, and keep the provenance of every moved record. The client's history is not ours to lose.