MySQL Workbench to Play-Evolution for Initial Development
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Readme.md
split.sh

Readme.md

MySQL Workbench to Play-Evolution for Initial Development

What's this

This script converts an exported sql file by MySQL Workbench into Play-Evolution's migration files.

This replaces all the exsisting migration files, so we can use this only in an initial development phase.

Usage

  1. create a model with MySQL Workbench's EER Diagram
  2. export model as a sql script ("File" -> "Export" -> "Forward Engineer SQL Create Script...")
  3. save it as a "schema.sql", and place it in this directory
  4. run "$ ./split.sh 'target directory'"