IT lexicon Database Migration (database)

Migration (database)

Database På svenska → Updated: 2026-05-23

Versioned change to a database schema — add a table, rename a column, add an index.

Often written as SQL scripts or via an ORM DSL. Run sequentially, once per environment. Tools: Flyway, Liquibase, Alembic, Rails ActiveRecord migrations. Good practice: forward-only, small steps, always tested on a prod copy.

← Back to the lexicon