Stars: 111
Forks: 45
Pull Requests: 6
Issues: 9
Watchers: 4
Last Updated: 2021-11-07 03:05:55
Python script that converts sql database tables into laravel migrations
License:
Languages: Python, PHP
A script to genenerate Laravel migrations from existing MySQL database.
It isn't super comprehensive and is meant to quicken the setting up of Laravel migrations on an existing database.
Python2.7 or PHP 7
only_include_tables - takes precedence if tables are specified
exclude_tables - tables will be excluded
python retrieve_and_convert.py
or
python retrieve_and_convert.py <config file>
php -e retrieve_and_convert.php
or
php -e retrieve_and_convert.php <config file>
Files will be in output folder
Feel free to report any bugs or contribute!