-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Custom doctrine types keep getting their definition generated in migrations #1435
Comments
Please share a reproducer for the issue. Also, which version of doctrine/migrations are you using ? |
I am using doctrine/doctrine-migrations-bundle v3.3.1, which itself uses doctrine/migrations v3.7.4 Here's an example of custom type that keeps getting generated, but used to work perfectly before, with DC2Type comments:
and another example:
so, when I run Let me know if I shall add more details / code. |
Support Question
I have recently upgrade doctrine to DBAL 4 / ORM 3, and when I run make:migration, then run doctrine:migration:migration, then run make:migration again, the exact same file is generated, with the same changes....
From what I see, the big majority of those changes are related to custom doctrine type, and I believe it is related to the fact that "Type::requiresSQLCommentHint()" has been removed from doctrine
My problem seems very similar to #1434 that you closed, except that in my case, I'm using MySQL and I removed all comments related to DC2Type. But still, make:migration keeps generating those changes, over and over again.
Any way to fix this?
The text was updated successfully, but these errors were encountered: