Ad-hoc Approvals for Declarative Schema Migrations Using the Atlas Kubernetes Operator
Learn how to set up ad-hoc approvals for schema migrations using the Atlas Kubernetes Operator. This guide covers the steps to configure the Operator to pause migrations and wait for human approval before applying schema changes.
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 Bitbucket Pipelines - Versioned Workflow
Learn how to integrate Atlas with Bitbucket Pipelines to automate versioned database schema migrations. This guide covers schema linting, migration planning, and deployment across multiple databases.
CI/CD for Databases on CircleCI - Versioned Workflow
Learn how to integrate Atlas with CircleCI to automate versioned database schema migrations. This guide covers schema linting, migration planning, and deployment across multiple databases.
CI/CD for Databases on GitHub Actions (Versioned Migrations)
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 (Versioned Migrations)
Learn how to integrate Atlas with GitLab CI/CD to automate and manage database schema migrations.
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 (State-based) vs Versioned Migrations
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
Deploying Versioned Migrations in Kubernetes from Atlas Schema Registry
Learn how to deploy versioned migrations in Kubernetes using Atlas Schema Registry. This guide covers the prerequisites, steps, and best practices for managing migrations in a Kubernetes environment.
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.
Import Existing Databases or Migrations
Learn how to import existing databases into Atlas versioned migrations by baselining or importing migration directories from other tools.
Introduction to Versioned Migrations
Learn how Atlas automatically generates SQL migration scripts from your desired schema. Plan, lint, and safely apply database schema changes.
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 Integrity File
Applying changes to a database schema in the wrong order can be dangerous. For this
Migration Troubleshooting
Learn how to troubleshoot migration failures with Atlas, including inspecting migration status, setting migration versions, understanding the atlas_schema_revisions table, and resolving partial or failed schema changes.
Pre & Post Execution Hooks
Learn how to run custom logic before and after executing migrations with using Atlas pre and post execution hooks. Includes seeding reference data and running data backfills.
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.
Reporting schema migrations to Atlas Cloud
Learn how to report schema migrations to Atlas Cloud, enabling streamlined deployment and management of migrations across environments.
Safeguarding Migrations with Pre-Execution Checks
Learn how to define and run pre-migration checks in Atlas to validate schema conditions before applying migrations, ensuring safe database changes.
Setup CI/CD for Versioned Migrations
Learn how to set up continuous integration and continuous deployment for your database migrations with Atlas. This guide covers CI (linting, diff generation, testing, registry push) and CD (per-environment deployment) workflows.
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.
Versioned Migrations with Atlas Terraform Provider
Manage database schema migrations with Terraform using the Atlas Terraform Provider and versioned migration files.
Versioned Schema Migrations with the Atlas Kubernetes Operator
Learn how to use the Atlas Kubernetes Operator for versioned schema migrations. This guide covers providing migrations, credentials, safety mechanisms, and API reference for the AtlasMigration resource.
Versioned SQLc Migrations with Atlas
A guide to versioned sqlc migrations with Atlas. Learn how to automatically plan and manage versioned SQL migration files for your Go projects.