Back

New command in framework?


falconfx posted 2 weeks ago

Hi!

I would like to know if there is any command that shows only the migrations that are still to be executed. Currently there is the command

php artisan migrate: status

But it shows both status, migrated and non-migrated. Is there any command that does what I said? In case that it does not exist, is there a possibility of collaborating in the creation of one?

Thank you!

falconfx replied 1 week ago

up?

Tobias van Beek replied 1 week ago

As far as I know that doesn't exist. You can create it on your own or pipe the result.

php artisan migrate | grep No

Or if you want the header of the output

php artisan migrate | grep -v Yes

Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us