Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctrine migrations generates empty Migration file with no scripts #449

Open
hantsy opened this issue Oct 31, 2021 · 0 comments
Open

Doctrine migrations generates empty Migration file with no scripts #449

hantsy opened this issue Oct 31, 2021 · 0 comments

Comments

@hantsy
Copy link

hantsy commented Oct 31, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant