MySQL Workbench to Play-Evolution for Initial Development
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.
- create a model with MySQL Workbench's EER Diagram
- export model as a sql script ("File" -> "Export" -> "Forward Engineer SQL Create Script...")
- save it as a "schema.sql", and place it in this directory
- run "$ ./split.sh 'target directory'"