Improved version of Laravel 5's Migrator. Adds better error messaging and support for rollbacks with custom paths
Installs: 2 310
Open Issues: 5
- php: >=5.3.0
- illuminate/console: ~5
- illuminate/database: ~5
- mockery/mockery: dev-master
- orchestra/testbench: ~3.0
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2023-05-31 12:24:03 UTC
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
$ 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
This overrides and extends the default Laravel migrate and rollback commands, so just use them as normal.
Please see CHANGELOG for more information what has changed recently.
$ composer test
The MIT License (MIT). Please see License File for more information.