Applying 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.
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.
Learn how to automatically generate schema migrations using the `atlas migrate diff` command. This page covers automatic migration planning for database schema migrations, best practices, and examples for SQL, HCL, and ORM sources.
GitLab is a popular, open-source alternative to GitHub. In addition to a self-hosted version,
The following guide explains how to connect a migration directory to Atlas Cloud. Once connected, Atlas provides a list
This section introduces two types of workflows that are supported by Atlas
Deploying without Atlas Cloud
This guide will walk you through deploying versioned migrations to Kubernetes from Atlas Schema Registry.
The atlas migrate down command allows reverting applied migrations. Unlike the traditional approach, where down files
This guide offers a high-level overview of the Atlas versioned migration workflow. It walks you through the steps of
In some cases it is desirable to add a migration file manually. This could be done
Atlas supports checkpoints, which are a way to capture the schema of the database at a certain version.
Atlas supports the generation of custom migration file formats
Applying changes to a database schema in the wrong order can be dangerous. For this
In some cases, applying a migration may fail. This document aims to provide
Overview
Atlas supports the concept of pre-migration checks, where each migration version can include a list of assertions
Intro
Atlas helps you ensure safe schema migrations for your database by automatically analyzing migration files for potentially dangerous or breaking changes.
In our previous sqlc guide, we saw how we can use Atlas to handle the schema
Versioned migrations provide a controlled, sequential approach to evolving your database schema.