Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

--dry-run Execute the migration as a dry run

Tags:

doctrine-orm

Can anyone tell the meaning of "dry run" in Doctrine 2? I am not able to find it on Google.

I can only get some information by using this command

php app/console doctrine:migrations:migrate --help

which outputs

--dry-run Execute the migration as a dry run.

like image 951
rohitcopyright Avatar asked Sep 10 '13 12:09

rohitcopyright


1 Answers

Dry run in the context of an console command means to run all actions for gathering informations, you get all verbose output, which will be executed, but nothing is really executed. So you can see, what the command will do, but can be safe, your database won't be modified.

like image 141
Emii Khaos Avatar answered Sep 28 '22 12:09

Emii Khaos