Database Migration - CI/CD Glossary Definition
A database migration is a versioned, ordered change to a database schema or data, applied by a tool (Flyway, Liquibase, Alembic, Rails, Prisma) so every environment ends up in the same state.
In CI/CD
Migrations are checked into source control alongside code and run automatically during deploy, so the schema advances in lockstep with the application. CI typically runs pending migrations against a throwaway database before the test suite.
Related guides
Schema Migration - CI/CD Glossary DefinitionSchema Migration: A schema migration changes the structure of a database (tables, columns, indexes, constrain…
Data Migration - CI/CD Glossary DefinitionData Migration: A data migration transforms or moves the rows themselves (rewriting values, splitting a colum…
Forward Migration - CI/CD Glossary DefinitionForward Migration: A forward migration (the "up" direction) advances the schema to a newer version, applying…