UPDATE NO DOCTRINE-MODULE

Asked

Viewed 37 times

1

To generate the database map I use this code:

doctrine-module orm:convert:mapping --force --from-database --namespace="Application\Entity\\" annotation C:\www\projetoBd\module\Application\src

To generate the entities:

doctrine-module orm:generate:entities C:\www\projetoBd\module\Application\src

To set the repository path, replace @ORM\Entity for @ORM\Entity(repositoryClass="Application\Entity\Repository\Pessoa")

To generate the repository:

doctrine-module orm:generate:repositories C:\www\projetoBd\module\Application\src

Now my problem: I created my bank, for example, table nome, table endereco and followed these steps from above. But now I have created the table telefone. What command do I use to give this update?? It would look something like this doctrine-module orm:update or something similar??

Thank you guys.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.