Laravel Migration Exporter for Sequel Pro
A bundle for Sequel Pro that lets you generate Laravel migration files from existing tables.
- Clone the repository or download the latest release and unzip the file.
- Double-click on the
ExportToLaravelMigration.spBundlepackage within the repository directory to install the bundle.
- Launch Sequel Pro!
Connect to a database, and select a table in the left-hand column. From the application menu, choose Bundles › Export › Export to Laravel Migration, or use the keyboard shortcut ⌃⌥⌘M (that's CTRL + OPTION + CMD + M).
The resulting Laravel migration file will be saved in a new directory called SequelProLaravelExport on your desktop.
You can then move this file into your Laravel project (usually
/database/migrations) and then run
Auto-generated migration files will likely need manual adjustments. Be sure to look at the code before
Bugs, Suggestions and Contributions
Thanks to everyone who has contributed to this project!
Please use Github issues for reporting bugs, and making comments or suggestions.
See CONTRIBUTING.md for how to contribute changes.
Copyright and License
Copyright (c) 2016 Colin Viebrock