Skip to content
Latchkey

Schema Migration - CI/CD Glossary Definition

A schema migration changes database structure such as tables, columns, and indexes, usually as a reversible up/down script.

A schema migration changes the structure of a database (tables, columns, indexes, constraints) rather than its contents, and is typically expressed as an up/down script.

Schema migrations are the most common migration type in a deployment pipeline; the up script applies the change and the down script reverts it.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →