zhanglei / atlas-1

A database toolkit

Home Page:https://atlasgo.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Atlas - 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.

Supported databases:

  • MySQL
  • MariaDB
  • PostgresSQL
  • SQLite

Runs on all platforms:

  • Mac
  • Linux
  • Windows

Quick Installation

Download latest release.

curl -LO https://release.ariga.io/atlas/atlas-darwin-amd64-latest

Make the atlas binary executable.

chmod +x ./atlas-darwin-amd64-latest

Move the atlas binary to a file location on your system PATH.

sudo mv ./atlas-darwin-amd64-latest /usr/local/bin/atlas
sudo chown root: /usr/local/bin/atlas

Instructions for other platforms and databases: Getting Started.

Getting Started

Schema Inspection

Inspect and save output to a schema file.

atlas schema inspect -d "mysql://root:pass@tcp(localhost:3306)/example" > atlas.hcl

Apply change to Schema

atlas schema apply -d "mysql://root:pass@tcp(localhost:3306)/example" -f atlas.hcl

Full CLI documentation.

About the Project

Read more about the motivation of the project Here.

About

A database toolkit

https://atlasgo.io

License:Apache License 2.0


Languages

Language:Go 100.0%