github.com/walf443/mgr@v0.0.0-20150203144449-6f7a3a548462/README.md (about)

     1  # mgr [![Build Status](https://secure.travis-ci.org/walf443/mgr.png)](http://travis-ci.org/walf443/mgr)
     2  
     3  ## What is it?
     4  
     5  It's a database migration management tool. This project is under developing yet, API may change in future.
     6  
     7  ## Feature
     8  
     9  ### No step files
    10  
    11  you should only manage database's schema's sql file.
    12  
    13  ### No DSL
    14  
    15  I'd like to use MySQL's specific feature. So you just write create table statement to file.
    16  
    17  
    18  ## USAGE
    19  
    20  ```
    21  $ mgr
    22  
    23  # specify target file manualy.
    24  $ mgr -before before.sql -after after.sql
    25  $ mysqldump  --compact --no-data -u root -p your_database | ./mgr -before=stdin -after=schema.sql
    26  ```
    27  
    28  SEE ALSO
    29  -----------
    30  
    31   - https://metacpan.org/pod/GitDDL
    32   - https://github.com/winebarrel/ridgepole
    33   - https://github.com/r7kamura/scheman.git
    34  
    35  Author
    36  --------
    37  
    38  Copyright (c) 2015 Keiji Yoshimi
    39  
    40  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    41  
    42  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
    43  
    44  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.