Migration
Data & DatabasesA recorded, ordered change to your data’s shape.
A versioned schema change applied identically in every environment. Needed because code can be rolled back in seconds and data cannot. Safe changes expand first, then contract days later.
See also Schema, Backfill, Rollback
Schema
Data & DatabasesThe declared shape of your data.
Which tables exist, which columns they have, and what is allowed in them. Changing it is a migration. In schemaless databases the schema still exists, just in your code instead of the database.
See also Migration, Table, NoSQL
Versioning
BackendRunning old and new API shapes side by side.
Offering /v1 and /v2 so existing callers keep working while new ones use the new shape. The same expand-then-contract idea as a safe schema migration, applied to an API.
See also Breaking change, Deprecation