Schematic DB Migrations

A MySQL schema generator in PHP

View the Project on GitHub andrefigueira/Schematic

Database Migrations Tool

Schematic is a command line tool for managing and migrating database schemas.

JSON and YAML supported

By default you can use JSON or YAML in the Schematic format to generate a database easily, there is also an in-built function which can map an existing database to configuration files, in essence backing up your database. Schematic schemas are meant to be kept within your VCS allowing you to keep track of your database changes, and used in conjunction with a tool like Capistrano become extremely powerful.

How to install globally

Add the following to your composer file.

$ wget https://github.com/andrefigueira/Schematic/raw/master/schematic.phar
$ chmod +x schematic.phar
$ mv schematic.phar /usr/local/bin/schematic 

Then Schematic is ready to use!

$ schematic

Authors and Contributors

Lovingly crafted by @andrefigueira

Support or Contact

Submit an issue on Github!