Skip to main content

24 docs tagged with "versioned migrations"

View all tags

Applying Schema Migrations

Learn how to use the `atlas migrate apply` command to apply versioned schema migrations to your database. This page covers the full workflow for managing, validating, and deploying database schema migrations with Atlas.

Automatic Schema Migration Planning

Learn how to automatically generate schema migrations for any database schema change using the `atlas migrate diff` command. This guide covers automatic migration planning for database schema migrations with Atlas, best practices, and examples for SQL, HCL, and ORM sources.

CI/CD for Databases on GitHub Actions

Learn how to integrate Atlas with GitHub Actions to automate and manage database schema migrations. This guide covers both versioned and declarative workflows, including schema linting, migration planning, approvals, and deployment across multiple databases.

CI/CD for Databases on GitLab

Learn how to integrate Atlas with GitLab CI/CD to automate and manage database schema migrations. This guide covers both versioned and declarative workflows, including schema linting, migration planning, approvals, and deployment across multiple databases.

CI/CD for Databases with Azure DevOps and GitHub

Learn how to integrate Atlas with Azure DevOps pipelines triggered by GitHub repositories. This guide covers setting up cross-platform CI/CD workflows for database schema migrations with GitHub-hosted code and Azure DevOps execution.

CI/CD for Databases with Azure DevOps Repos

Learn how to integrate Atlas with Azure DevOps Pipelines triggered by Azure Repos pull requests. This guide covers setting up complete CI/CD workflows for database schema migrations with code hosted in Azure DevOps repositories.

Connect Migration Directories

Learn how to connect your migration directory to Atlas Cloud, enabling streamlined migration management, CI/CD integration, and Slack notifications.

Declarative vs Versioned Workflows

Learn about Atlas's two workflows for managing database schemas - declarative (state-based migrations) and versioned migrations - and how to combine them for maximum flexibility

Down Migrations

Learn how to revert applied schema migrations using the `atlas migrate down` command, computing rollback plans dynamically based on the current database state.

Manual Migrations

Learn how to create manual migration files with `atlas migrate new` to handle custom DDL, seed data, or integrate unsupported schema changes.

Migration Directory Checkpoints

Learn how to use migration directory checkpoints in Atlas to capture database schema snapshots, skip previously applied migrations, and speed up migration workflows.

Migration Directory Import

Learn how to import existing migration directories from tools like Flyway or golang-migrate into the Atlas migration format using `atlas migrate import`.

Migration Troubleshooting

Learn how to troubleshoot migration failures with Atlas, including inspecting migration status, setting migration versions, and resolving partial or failed schema changes.

Pre-migration Checks in Atlas Cloud

Pre-migration checks allow you to run assertions on the target database before applying migrations, reducing the risk of migration failures.

Setup Versioned Migrations

Learn how to set up versioned database migrations with Atlas. This guide covers configuring migration directories, creating baseline migrations, and verifying your schema changes for existing projects and databases.

Verifying Migration Safety

Atlas helps you ensure safe schema migrations for your database by automatically analyzing migration files for potentially dangerous or breaking changes.