Schema Migration - CI/CD用語集の定義
schema migrationは、テーブル、カラム、インデックスといったデータベースの構造を変更するもので、通常は可逆なup/downスクリプトの形をとります。
schema migrationは、データベースの内容ではなく構造(テーブル、カラム、インデックス、constraint)を変更するもので、通常はup/downスクリプトとして表現されます。
schema migrationはデプロイのpipelineで最も一般的なマイグレーションの種類です。upスクリプトが変更を適用し、downスクリプトがそれを元に戻します。
関連ガイド
Database Migration - CI/CD Glossary DefinitionDatabase Migration: A database migration is a versioned, ordered change to a database schema or data, applied…
Idempotent Migration - CI/CD Glossary DefinitionIdempotent Migration: An idempotent migration produces the same result whether it runs once or many times, ty…
Expand-Contract Migration - CI/CD Glossary DefinitionExpand-Contract Migration: An expand-contract migration splits a breaking schema change into an additive expa…