Automatic Aurora DSQL Schema Migrations with Atlas
Learn how to manage AWS Aurora DSQL schemas with Atlas using both declarative and versioned workflows. This guide covers automatic DSQL schema migration, inspection, migration planning, and applying changes via CLI and CI/CD integrations.
Automatic CockroachDB Schema Migrations with Atlas
Learn how to manage CockroachDB schemas with Atlas using both declarative and versioned workflows. This guide covers automatic CockroachDB schema migration, inspection, migration planning, and applying changes via CLI and CI/CD integrations.
Automatic PostgreSQL Schema Migrations with Atlas
Use Atlas as a PostgreSQL migration tool: inspect a database, plan schema changes automatically, and apply them with declarative or versioned workflows.
Automatic Schema Migrations for Azure HorizonDB with Atlas
Learn how to manage HorizonDB schemas with Atlas using both declarative and versioned workflows. This guide covers automatic HorizonDB schema migration, inspection, migration planning, and applying changes via CLI and CI/CD integrations.
Automatic YugabyteDB Schema Migrations with Atlas
Learn how to manage YugabyteDB YSQL schemas with Atlas using both declarative and versioned workflows.
Column-Level Data Lineage for PostgreSQL
Trace column-level lineage across PostgreSQL tables and views: see how columns are derived, inspect expressions, and map upstream and downstream dependencies.
Database Guides
All common open-source relational database management systems are supported in all versions of Atlas.
Descending Indexes in PostgreSQL
Create descending indexes in PostgreSQL to optimize queries with an ORDER BY clause, and manage them in schema migrations with Atlas.
Faster Schema Tests with PostgreSQL Template Databases
Speed up atlas schema test on PostgreSQL with template databases: build the schema once and run every test group on a fresh copy.
Functional Indexes in PostgreSQL
Index expression values with functional indexes in PostgreSQL to speed up queries, with syntax, examples, and how to manage them with Atlas.
Generate GraphQL Schemas from Your Database Schema with Atlas
End-to-end guide for keeping GraphQL schemas in sync with your PostgreSQL schema using Atlas. Define tables and API metadata together, generate migrations, export SDL automatically, and deploy through Atlas Cloud.
Generate OpenAPI Specs from Your Database Schema with Atlas
End-to-end guide for keeping OpenAPI specifications in sync with your PostgreSQL schema using Atlas. Define tables and API metadata together, generate migrations, export specs automatically, and deploy through Atlas Cloud.
Getting Started with HCL Declarative Migrations for PostgreSQL
Manage a PostgreSQL schema with Atlas declarative migrations in HCL: inspect the database, plan the changes, and apply them.
Getting Started with SQL Declarative Migrations for PostgreSQL
Manage a PostgreSQL schema with Atlas declarative migrations in SQL: inspect the database, plan the changes, and apply them.
Index Operator Classes in PostgreSQL
Use operator classes in PostgreSQL indexes to optimize queries with specific operators, with syntax, examples, and how to manage them with Atlas.
Indexes with Included Columns in PostgreSQL
Create indexes with included columns (covering indexes) in PostgreSQL to improve query performance, and manage them with Atlas.
Managing Databricks Lakebase Schemas with Atlas
Connect Atlas to Databricks Lakebase with OAuth tokens from the databricks_lakebase_token data source or a password role, and exclude its managed functions.
Managing Default Privileges in PostgreSQL
Handle PostgreSQL default privileges in Atlas HCL and SQL schemas: control automatic REVOKEs, set dev database defaults, and use ALTER DEFAULT PRIVILEGES.
Managing Seed & Lookup Data in PostgreSQL
Define lookup tables, reference tables, configuration data, and seed data as code. Atlas computes INSERT, UPDATE, and DELETE statements automatically.
Managing Supabase Schemas with Atlas
Manage a Supabase project with Atlas: choose a connection endpoint, build a matching dev database, and keep tables, RLS policies, and Data API grants as code.
Optimal Data Alignment in Tables (PG110)
Reduce PostgreSQL disk usage by ordering table columns to minimize alignment padding, and use Atlas CI to find the optimal column order.
Partial Indexes in PostgreSQL
Use partial indexes in PostgreSQL to improve performance and reduce storage costs, and manage them in schema migrations with Atlas.
PostgreSQL Database Security as Code (Declarative)
Define PostgreSQL roles, permissions, and row-level security policies as code, and let Atlas plan and apply the GRANT and REVOKE changes.
PostgreSQL Database Security as Code (Versioned)
Manage PostgreSQL roles, permissions, and row-level security through versioned migrations, so every security change goes through code review and CI.
Row-Level Security Policy: Prevent RLS Bypass and Enforce Tenant Isolation
Manage PostgreSQL Row-Level Security as code. Prevent missing RLS, detect BYPASSRLS drift, test tenant isolation, and block unsafe policy changes in CI with Atlas.
Safe NOT NULL Migrations on PostgreSQL: Avoid Aborted Deploys and Table Locks
Add NOT NULL constraints on PostgreSQL without aborting migrations or locking tables. Atlas's not_null diff policy emits an MF104 pre-migration check and a lock-safe NOT VALID plan validated under a weaker lock.
Serial Type Columns in PostgreSQL
Learn how to create and manage serial columns in PostgreSQL, including changing column types and using Atlas for schema management.
Testing PostgreSQL Schemas with pgTAP and Atlas
Use pgTAP assertion functions in Atlas schema tests to verify table privileges and other PostgreSQL schema properties, with TAP-formatted output.
Unlogged Tables in PostgreSQL
Create and manage unlogged tables in PostgreSQL with Atlas, understand their benefits, and model persistence modes declaratively.
Using Composite Types in GORM
Learn how to manage database schema migrations that include PostgreSQL composite types in your GORM projects using Atlas. This guide explains how to define and use composite types in your schema, and manage them together with your GORM models as part of your migration workflow.
Using Composite Types in Sequelize
Learn how to define and use PostgreSQL composite types in Sequelize models with Atlas. This guide covers setting up composite types, configuring Atlas, and automating schema migrations.
Using Domain Types in GORM
Learn how to manage database schema migrations that include PostgreSQL domain types in your GORM projects using Atlas. This guide explains how to define and use domain types in your schema, and manage them together with your GORM models as part of your migration workflow.
Using Domain Types in Sequelize
Learn how to define and use PostgreSQL domain types in Sequelize models with Atlas. This guide covers setting up domain types, configuring migrations, and applying schema changes.
Using Postgres Enum Types in GORM
Learn how to include PostgreSQL enum types in your GORM schema migrations using Atlas, and manage both custom enums and models in one workflow.
Using Row-Level Security in GORM
Learn how to define and manage PostgreSQL Row-Level Security (RLS) policies alongside GORM models using Atlas. This guide walks through combining GORM types and custom SQL policies into a single migration plan using composite schemas.
Using Row-Level Security in Prisma
Learn how to implement PostgreSQL Row-Level Security (RLS) in Prisma using Atlas. This guide covers defining RLS policies, configuring Atlas, and managing migrations.
Using Row-Level Security in Sequelize
Learn how to implement PostgreSQL Row-Level Security (RLS) in Sequelize using Atlas. This guide covers defining RLS policies, configuring Atlas, and automating schema migrations.
Using Row-Level Security In SQLAlchemy
Learn how to implement PostgreSQL Row-Level Security (RLS) in SQLAlchemy using Atlas. This guide covers defining RLS policies, configuring Atlas, and managing schema migrations.