github.com/schemalex/git-schemalex@v0.0.0-20170921120917-b690b7f9e063/README.md (about)

     1  [![Build Status](https://travis-ci.org/schemalex/git-schemalex.svg?branch=master)](https://travis-ci.org/schemalex/git-schemalex)
     2  
     3  # git-schemalex
     4  
     5  database migration tool for mysql schema is managed via git.
     6  
     7  ## DOWNLOAD
     8  
     9  ```
    10  $ go get github.com/schemalex/git-schemalex/cmd/git-schemalex
    11  ```
    12  
    13  ## USAGE
    14  
    15  ```
    16  $ git schemalex -schema path/to/schema -dsn "$root:$passowrd@/$database" -workspace /path/to/git/repository -deploy
    17  ```
    18  
    19  ### DSN
    20  
    21  see [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)
    22  
    23  ## SEE ALSO
    24  
    25  * https://github.com/schemalex/schemalex
    26  * https://github.com/typester/GitDDL
    27  
    28  ## LICENSE
    29  
    30  MIT