Symfony/Doctrine命令之间的区别"make:migration"和"doctrine:migrations:diff"; [英] Difference between Symfony/Doctrine commands "make:migration" and "doctrine:migrations:diff"

查看:55
本文介绍了Symfony/Doctrine命令之间的区别"make:migration"和"doctrine:migrations:diff";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Symfony控制台命令 make:migration doctrine:migrations:diff 之间是否有区别?

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

推荐答案

这两个命令之间没有区别.

There is no difference between these two commands.

make:migration 只是Symfony为Doctrine命令提供的包装器.

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

您可以运行到完全相同的效果.但是symfony要求您拥有 Symfony Maker软件包,否则不需要.

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.

这篇关于Symfony/Doctrine命令之间的区别"make:migration"和"doctrine:migrations:diff";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆