migrations icon indicating copy to clipboard operation
migrations copied to clipboard

Custom doctrine types keep getting their definition generated in migrations

Open geoffroyp opened this issue 1 year ago • 2 comments

Q A
ORM 3.2.0
DBAL 4.0.3

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 https://github.com/doctrine/migrations/issues/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?

geoffroyp avatar Jun 18 '24 15:06 geoffroyp