Software Engineering KB

Home

❯

06 Development Process

❯

02 CI CD

❯

01 Concept

❯

Backward Compatible Migrations

Backward-Compatible Migrations

Feb 10, 20261 min read

  • cicd
  • migrations
  • backward-compatible

Backward-Compatible Migrations

← Back to Database Migrations in Deployment

Expand-and-contract pattern: first expand the schema (add new columns/tables), deploy code that works with both schemas, then contract (remove old columns). Avoids breaking running code during deployment.

Key Properties

  • Expand and Contract
  • Dual Schema Support
  • Safe Migration Pattern

cicd migrations backward-compatible


Graph View

  • Backward-Compatible Migrations
  • Key Properties

Backlinks

  • Database Migrations in Deployment
  • Expand and Contract

Created with Quartz v4.5.2 © 2026

  • GitHub