Coder Social home page Coder Social logo

atlas's Introduction

Manage your database schemas with Atlas CLI

Atlas CLI is an open source tool that helps developers manage their database schemas by applying modern DevOps principles. Contrary to existing tools, Atlas intelligently plans schema migrations for you. Atlas users can use the Atlas DDL (data definition language) to describe their desired database schema and use the command-line tool to plan and apply the migrations to their systems.

Quick Installation

On macOS:

brew install ariga/tap/atlas

Click here to read instructions for other platforms.

Getting Started

Get started with Atlas by following the Getting Started docs. This tutorial teaches you how to inspect a database, generate a migration plan and apply the migration to your database.

Features

  • Inspecting a database: easily inspect your database schema by providing a database URL.
atlas schema inspect -u "mysql://root:pass@localhost:3306/example" > atlas.hcl
  • Applying a migration: generate a migration plan to apply on the database by providing an HCL file with the desired Atlas schema.
atlas schema apply -u "mysql://root:pass@localhost:3306/example" -f atlas.hcl
  • Declarative Migrations vs. Versioned Migrations: Atlas offers two workflows. Declarative migrations allow the user to provide a desired state and Atlas gets the schema there instantly (simply using inspect and apply commands). Alternatively, versioned migrations are explicitly defined and assigned a version. Atlas can then bring a schema to the desired version by following the migrations between the current version and the specified one.

About the Project

Read more about the motivation of the project here.

Supported Databases

MySQL, MariaDB, PostgresSQL, SQLite, TiDB, CockroachDB

atlas's People

Contributors

a8m avatar adambabik avatar cga1123 avatar devnode avatar edigaryev avatar elad-n avatar ericyd avatar fishead avatar fuziontech avatar giautm avatar gneyal avatar hatsunemiku3939 avatar hilakashai avatar int-2147483647 avatar ivanvanderbyl avatar iwata avatar kinggor1010 avatar masseelch avatar ofpiyush avatar omarhachach avatar phuurl avatar ronenlu avatar rotemtam avatar sashamelentyev avatar svstanev avatar tprebs avatar vladdoster avatar vsychov avatar yonidavidson avatar zeevmoney avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

atlas's Issues

Spanner Driver

This issue exists to track the state of Spanner driver development.

Driver State

  • introspection
    • tables
    • primitive columns
    • array columns
    • struct columns
    • json columns
    • generated expression columns
    • indexes
    • checks
    • foreign keys
    • views
  • migration

Spanner Features

  • TTL / row deletion policies
  • change streams
  • interleaving
  • Vertex AI models
  • allow_commit_timestamp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.