DatabasesIntermediate
Migration
Pronunciationmy-GRAY-shun
Definition
A versioned file that describes one change to the database structure, like adding a column. Running it applies the change.
Where you hear it
Deployments and team workflows with Django, Prisma, or Rails.
Examples
Run the migration before starting the new version.
Never edit a migration that already ran in production.
Common mistake
Editing an old migration. Create a new one so every environment follows the same history.