atlas-migrations
Installation
SKILL.md
atlas-migrations
Overview
Atlas manages and migrates database schemas as code - define the desired schema and Atlas plans, lints, tests, and applies the changes (per atlasgo.io/getting-started). Two operating modes:
- Declarative - define desired state in HCL or SQL; Atlas
computes diff and applies (
atlas schema apply). - Versioned - Atlas generates timestamped migration files from
schema diffs (
atlas migrate diff); migrations apply forward (atlas migrate apply).
Most production teams use versioned mode for the audit trail; dev loops often use declarative mode for fast iteration.