I have a Laravel 4 package that contains a migration script with both up
and down
methods implemented. I can run the migrations using artisan
:
php artisan migrate --bench="vendor/package"
But how can I rollback that migration for my package?
I have tried the following with no luck:
php artisan migrate:rollback --bench="vendor/package"
That last results in:
[RuntimeException]
The "--bench" option does not exist.
The only way to do that is using the general artisan command:
php artisan migrate:rollback
Which will rollback all your migrations.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments