Skip to content

A Sequel Pro bundle to generate Laravel migration files from existing tables.

License

Notifications You must be signed in to change notification settings

rslanzi/sequel-pro-laravel-export

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Migration Exporter for Sequel Pro

A bundle for Sequel Pro that lets you generate Laravel migration files from existing tables.

Installation

  1. Clone the repository or download the latest release and unzip the file.
  2. Double-click on the ExportToLaravelMigration.spBundle package within the repository directory to install the bundle.
  3. Launch Sequel Pro!

Usage

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 to your desktop. You can then move this file into your Laravel project (usually /database/migrations) and then run artisan migrate.

Caveats

Auto-generated migration files will likely need manual adjustments. Be sure to look at the code before running artisan migrate!

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.

Copyright and License

sequel-pro-laravel-export was written by Colin Viebrock and is released under the MIT License.

Copyright (c) 2016 Colin Viebrock

About

A Sequel Pro bundle to generate Laravel migration files from existing tables.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%