Yevgeniy Afanasyev
Yevgeniy Afanasyev

Reputation: 41360

can laravel artisan show how many migrations are ready to be installed?

Can laravel artisan show how many migrations are ready to be installed?

Something like:

php artisan migrate:just_show_not_performed_migrations

Upvotes: 0

Views: 89

Answers (1)

Matei Rogoz
Matei Rogoz

Reputation: 131

You can use php artisan migrate:status. It will output all migrations, with a green 'Y' next to the ones who have been migrated and a red 'N' next to the ones who have not.

Upvotes: 3

Related Questions