Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check migration status?

In Rails, I can run:

rake db:migrate:status 

But how about Laravel? How would I know which migrations will run when I do:

php artisan migrate 

I am on a production server, and I need to make sure that I won't break things.

like image 951
simo Avatar asked Nov 19 '15 12:11

simo


People also ask

What is approve migration batch?

For a batch scored as Poor, approving the migration allows you to complete all migrations in the batch with a score of Perfect, Good, or Investigate, but will not approve any migration in the batch with a score of Poor. If the migration fails with a grade of Poor, you cannot force the migration to succeed.

How do I know if my mailbox is migrating?

You can use the Get Remote Mailbox cmd to retrieve the Remote Recipient Type attribute. If it's Migrated, the mailbox is already migrated.

What are migration batches?

Exchange Outlook Anywhere: The migration batch is either a cutover Exchange migration or a staged Exchange migration. IMAP: The migration batch is an IMAP migration. Remote move migration: The migration batch is either an onboarding or offboarding remote move migration in an Exchange hybrid deployment.


1 Answers

It's the exact same way with artisan, just add :status:

php artisan migrate:status 

In the future you can run just php artisan and it will list all available commands with a short description for each one. If you want more details about a command, like usage and what options it accepts, you can run php artisan help [command]. So for your command it would be:

php artisan help migrate:status 
like image 138
Bogdan Avatar answered Sep 29 '22 13:09

Bogdan