Skip to main content

17 docs tagged with "declarative migrations"

View all tags

Declarative migrations for sqlc using Atlas

Learn how to use Atlas with sqlc for declarative database schema migrations in Go projects. This guide explains integrating Atlas and sqlc, managing schema changes, and best practices for keeping your database and code in sync using declarative migrations.

Declarative schema migrations

Learn how to use Atlas for declarative schema migrations (sometimes called state-based migrations), enabling you to plan, review, and apply database schema migrations safely and automatically

SQLite Migrations with Declarative HCL in Atlas

Learn how to manage SQLite migrations and schemas using Atlas and declarative HCL. This step-by-step guide covers inspecting, editing, and applying schema changes for efficient SQLite schema management

SQLite Migrations with Declarative SQL in Atlas

Learn how to manage SQLite migrations and schemas using Atlas with declarative SQL. This step-by-step guide covers inspecting, editing, and applying schema changes for efficient SQLite schema management.

Testing Migration Plans

Learn how to test declarative schema migration plans in Atlas using `atlas schema plan test` to validate planned changes before applying.