Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Symfony/Doctrine commands "make:migration" and "doctrine:migrations:diff"

Is there a differences between the Symfony console command make:migration and doctrine:migrations:diff?

like image 793
yifei3212 Avatar asked Oct 29 '22 07:10

yifei3212


1 Answers

There is no difference between these two commands.

make:migration is simply a Symfony provided wrapper for the Doctrine command.

You can run either to the exact same effect. But the symfony one requires that you have the Symfony Maker bundle, which otherwise it not required.

like image 152
yivi Avatar answered Nov 16 '22 23:11

yivi