zingle/laravel5-migrator
Composer 安装命令:
composer require zingle/laravel5-migrator
包简介
Improved version of Laravel 5's Migrator. Adds better error messaging and support for rollbacks with custom paths
README 文档
README
This overrides and extends Laravel's own migration service provider, migrate, and rollback commands to provide some additional functionality:
- Adds a 'path' column to the migration tracking table so that the
migrate:rollbackcommand works properly even when the--pathoption is used when running migrations - Add improved error display to the
migratecommand, displaying which migrations were succesful and which migration failed in the event of a failed migration
Install
Via Composer
$ composer require zingle/laravel5-migrator
Run the migration to add the path column to your migrations table:
php artisan migrate --path=vendor/zingle/laravel5-migrator/src/migrations
Add the service provider Zingle\LaravelMigrator\LaravelMigratorServiceProvider to your config/app.php file providers array.
Usage
This overrides and extends the default Laravel migrate and rollback commands, so just use them as normal.
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-23