Symfony – marks a single doctor migration as run / executed

Is there a way to mark a doctor migration as "running" or "executed" because it does not appear as a migration that needs to be migrated?

app / console doctrine:migrations:migrate –add Version20140409203042

I can't see anything in – help

The reason for this is that my database is up-to-date and imported from other places, but this migration is required every time I run a theory: migration: migration

Solution

I found that this function belongs to the version command:

Use this command to add a single version:

app / console doctrine:migrations:version 20140430223207 –add

Use this command to add them all:

app / console doctrine:migrations:version –add –all

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>