Used by
3000+ projects
Use Cases

Inspect and Visualize

Use the Atlas CLI to programmatically inspect any database. Get results in HCL, JSON, SQL or as a visual ERD.

Inspection Quick Start
ATLAS
HCL
SQL
table"users"{
schema=schema.main
column"id"{
null=false
type=int
}
column"first_name"{
null=true
type=varchar
}
column"last_name"{
null=true
type=varchar
}
primary_key{
columns=[column.id]
}
}
table"orders"{
schema=schema.main
column"id"{
null=false
type=int
}
column"name"{
null=true
type=varchar
}
column"user_id"{
null=false
type=int
}
column"product_id"{
null=false
type=int
}
primary_key{
columns=[column.id]
}
foreign_key"product_id"{
columns=[column.product_id]
ref_columns=[column.products.column.id]
on_update=NO_ACTION
on_delete=NO_ACTION
}
foreign_key"user_id"{
columns=[column.user_id]
ref_columns=[table.users.column.id]
on_update=NO_ACTION
on_delete=NO_ACTION
}
}
table"products"{
schema=schema.main
column"id"{
null=false
type=int
}
column"name"{
null=true
type=varchar
}
column"description"{
null=false
type=int
}
column"quantity"{
null=false
type=int
}
primary_key{
columns=[column.id]
}
}
schema"main"{
}

Automatic Migration Planning

Let Atlas automatically plan the SQL for your next schema change. Works with all popular migration tools and any ORM

Planning Quick start

CI for schema changes

It’s like static code analysis but for schema changes. Detect dangerous migrations and issues way before they hit production

GitHub Action Quick start
CI RUN
#85485452
ISSUES FOUND
Repo
atlascloud/actio...
Branch
add-table
Commit
c725c63
Summary
SQL Change
ERD
Migration Integrity check
Detect New Migration Files
Replay Migration Files
1 reports were found in analysis

Deploy to production with modern tooling

Many teams provision their database instance in the cloud using terraform, with the Atlas Terraform Provider, you can now manage your database schemas from within the same workflow

Terraform Quick start
Helm Quick start

Full visibility for your team

Detailed reports and diagnotics for your team’s schema changes. See schemas change over time.

Atlas Cloud Quick start
CI RUN
#85485452
ISSUES FOUND
Branch
Main
Last updated at
less than a minute ago
Commits
Search
More guides
All guides

Integration tests with docker-compose

Prepare your database for integration tests using docker-compose

Read

Functional Indexes in MySQL

Learn how to optimize queries containing expressions by indexing values that are not stored directly in the table itself

Read

Using Atlas with Fly.io

Learn how Atlas can be used to perform database schema migrations for Fly.io deployment processes

Read

Manage MySQL on RDS with Terraform and Atlas

Learn how to use the Atlas Terraform Provider to manage the schema of an RDS-managed MySQL database

Read

How to inspect a local database using Atlas Cloud

Inspect and generate an Entity Relationship Diagram (ERD) from your database

Read

Automatic migration planning for golang-migrate

Use Atlas to automatically plan schema migrations based on your schema's desired state

Read
Trusted by engineeers at

Newsletter

Learn more about Atlas and get updates

Find us

Discover