ariga / atlas
- среда, 26 января 2022 г. в 00:30:02
A database toolkit
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.
Download latest release.
curl -LO https://release.ariga.io/atlas/atlas-darwin-amd64-latestMake the atlas binary executable.
chmod +x ./atlas-darwin-amd64-latestMove the atlas binary to a file location on your system PATH.
sudo mv ./atlas-darwin-amd64-latest /usr/local/bin/atlassudo chown root: /usr/local/bin/atlasInstructions for other platforms and databases: Getting Started.
Inspect and save output to a schema file.
atlas schema inspect -d "mysql://root:pass@tcp(localhost:3306)/example" > atlas.hclatlas schema apply -d "mysql://root:pass@tcp(localhost:3306)/example" -f atlas.hclFull CLI documentation.
Read more about the motivation of the project Here.