Skip to main content

16 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

Testing Migration Plans

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