• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

cviebrock/sequel-pro-laravel-export: A Sequel Pro / Sequel Ace bundle to generat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

cviebrock/sequel-pro-laravel-export

开源软件地址(OpenSource Url):

https://github.com/cviebrock/sequel-pro-laravel-export

开源编程语言(OpenSource Language):

PHP 76.9%

开源软件介绍(OpenSource Introduction):

Laravel Migration Exporter for Sequel Pro and Sequel Ace

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

Installation

  1. Download the latest release and unzip the appropriate file, depending on whether you are using Sequel Pro or Sequel Ace.
  2. Double-click on the bundle package to install the bundle.
  3. Launch Sequel Pro or Ace!

Installation from Source

  1. Clone the repository
  2. Run ./build.sh to create Sequel Pro and Sequel Ace versions of the bundle
  3. Use the appropriate bundle in the build directory

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 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 artisan migrate.

Sequel Ace Usage

The Sequel Ace bundle will only work with version 3.0.0 and later of Sequel Ace.

You will also need to give Sequel Ace permission to write to the Desktop folder via the application's preferences:

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! Special thanks to JetBrains for their Open Source License Program ... and the excellent PHPStorm IDE, of course!

JetBrains

Please use Github issues for reporting bugs, and making comments or suggestions.

See CONTRIBUTING.md for how to contribute changes.

Copyright and License

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

Copyright (c) 2016 Colin Viebrock




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap