Doctrine migrations generates empty Migration file with no scripts
hantsy opened this issue · 0 comments
hantsy commented
I updated Doctrine/ORM to the latest 2..10.x(which upgraded Doctrine/Dbal to 3.x), and replace the Entity id generator strategy string based UUID
with Uuid
(symfony/uid
), the doctrine:schema:create
and fixtures:load
are working well, but when I tried to generate the db schema into Migration files, it does not work.
The latest codes is here: https://github.com/hantsy/symfony5-sample/tree/master/rest-sample
The last version using dbal 2.13 works well, https://github.com/hantsy/symfony5-sample/tree/287e322d7332af767e483139bd1c64f86b0f1219