Skip to main content

20 docs tagged with "versioned migrations"

View all tags

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.

Automatic Migration Planning

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.

Connect Migration Directories

The following guide explains how to connect a migration directory to Atlas Cloud. Once connected, Atlas provides a list

Down Migrations

The atlas migrate down command allows reverting applied migrations. Unlike the traditional approach, where down files

Manual Migrations

In some cases it is desirable to add a migration file manually. This could be done

Pre-migration checks

Atlas supports the concept of pre-migration checks, where each migration version can include a list of assertions

Verifying Migration Safety

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