• Blog
  • Docs
  • Pricing
12.0k
12.0kLog inGet Started
  1. Glossary
  2. /
  3. Schema Migrations
  4. /
  5. Expand / Contract Pattern

Expand / Contract Pattern

Schema MigrationsOpen Source

A two-phase migration strategy: Expand adds the new schema elements alongside the old ones. Contract removes the old elements after all applications have migrated to the new schema. Enables zero-downtime changes.

Related terms

Zero-Downtime Migrationpgroll
← Back to glossary

Branch-native Postgres

TwitterBlueskyLinkedInYouTubeContact us

Product

BranchingStorageScale-to-ZeroBYOC

Solutions

ProductionCI/CDAgent Sandboxes

Resources

Xata vs NeonGlossaryGitHub

Developers

DocsOpen SourceStatusSupport

Company

AboutBlogCareersBrand

© Copyright 2026 Xatabase Inc. All Rights Reserved.

Privacy PolicySecurityTerms of Use