R
R
Rodion Yurchenko2017-04-20 16:58:08
symfony
Rodion Yurchenko, 2017-04-20 16:58:08

How to find out why the doctrine makes such changes in the database?

Good afternoon The
question is as follows:
With the command php bin/console doctrine:schema:update --dump-sql - I see what changes will be in the database
. But is it possible to find out - relying on which annotation the doctrine makes this or that request?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Komarov, 2017-04-20
@aassdds

What exactly are you interested in? Various kinds of MODIFY based on changing @ORM\Column() annotations. New tables - based on the appearance of new Entities or M2M relationships. If you are interested in "why exactly such a request, and not another" - open the source code of the library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question