12 · Databases & SQL

Migration

A versioned schema change

A repeatable, ordered change to a database's structure — like git commits for the shape of your data, applied in sequence so every copy stays in sync.

Concrete example

A migration adds a “phone” column; every environment runs it to match.

Why it matters

How schema changes ship safely — “run the migration” is a routine agent step.