ariga/atlas

Declarative schema migrations with schema-as-code workflows

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 14 minutes ago
Added to GitGenius on September 7th, 2026
Created on April 30th, 2021
Open Issues & Pull Requests: 275 (+0)
GitHub issues: Enabled
Number of forks: 373
Total Stargazers: 8,715 (+0)
Total Subscribers: 29 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.6 hours
Mean response time: 42.0 days
90th percentile: 103.1 days
Tracked items: 360

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 60% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 9% of issues opened in the past year have been closed. Three people close 69% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 153
New in 7 days: 6
Closed in 7 days: 2
Avg open age: 481 days
Stale 30+ days: 138
Stale 90+ days: 125

Recent activity

Opened in 7 days: 4
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • MSSQL (15)
  • enhancement (8)
  • operator (8)
  • feature-request (5)
  • clickhouse (2)
  • wait-for-response (1)

Detailed Description

Atlas is a language-agnostic tool for managing and migrating database schemas using declarative and versioned workflows.

Atlas solves the problem of coordinating database schema changes across environments by treating schema definitions as code. It supports two distinct approaches: a declarative workflow that compares the desired schema state to the current database state and generates a migration plan automatically, similar to infrastructure-as-code tools, and a versioned workflow where developers describe their desired schema in HCL, SQL, or their ORM of choice, then use Atlas to plan, lint, and apply migrations. The tool works across a broad range of databases including PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, ClickHouse, Redshift, Oracle, Snowflake, CockroachDB, TiDB, Databricks, Spanner, Aurora DSQL, and Azure Fabric.

Teams should adopt Atlas if they want to eliminate manual migration writing and reduce the coordination overhead of schema changes. The declarative workflow suits teams already familiar with infrastructure-as-code patterns and seeking to apply those principles to database management. The versioned workflow appeals to teams that prefer explicit migration files but want automatic generation and validation rather than hand-crafted SQL. The tool is language-agnostic, making it suitable for polyglot environments where different services use different ORMs or database access patterns.

The project maintains active development with regular updates to support new databases and features. The codebase shows consistent refinement of core migration logic and schema diffing capabilities. The tool has established integration patterns with popular ORMs and database platforms, indicating ongoing investment in ecosystem compatibility. Documentation and guides are maintained for each supported database, reflecting a commitment to helping users navigate database-specific behaviors and constraints.