Skip to catalogue

database migration

A recorded transition from one database schema to another.

Use this when A schema change must preserve existing rows and deployed callers.

without the term

“I need to rename a column and split the name field into first and last name. There's real user data in production. Can you change the database without losing anything or breaking the running app?”

with the term · How do you ask a model for database migration?

Write a migration for this schema change. Test it against existing data and document how we recover if the rollout fails.

XBlueskyLinkedIn

What is database migration?

A migration changes schema or data in a controlled sequence. Reversibility depends on the operation and recovery plan.

Why does database migration matter when vibe coding?

Changing only the latest schema ignores the state users already have.

How do you do database migration?

Exercise the migration on a representative older schema. Check data preservation and the recovery path.

What goes wrong with database migration?

A destructive change is called reversible even though its discarded data cannot be reconstructed.

adjacent

Short entry updated .

Historical short-entry review

report a correction