Atlas is a CLI designed to help companies better work with their data. It includes several components that can be used individually but are designed to work very well together.
- MySQL
- MariaDB
- PostgresSQL
- SQLite
- TiDB
- Mac
- Linux
- Windows
On macOS:
brew install ariga/tap/atlas
Instructions for other platforms and databases: Getting Started.
Inspect and save output to a schema file.
atlas schema inspect -u "mysql://root:pass@tcp(localhost:3306)/example" > atlas.hcl
atlas schema apply -u "mysql://root:pass@tcp(localhost:3306)/example" -f atlas.hcl
Full CLI documentation.
Read more about the motivation of the project Here.