Use enum values from enumType in DiscriminatorColumn and check DiscriminatorMap values against it
Fix for issue #11794.
Currently the values of enumType in DiscriminatorColumn are ignored which results in an error when generating a migration:
Doctrine\DBAL\Platforms\MySQL80Platform requires the values of a ENUM column to be specified.
Fixed by populating values from the enum and also prevent invalid entries in DiscriminatorMap.
I'm unsure where to go from here. It seems to me tests are failing on platforms with no native enum support.
I'm unsure where to go from here. It seems to me tests are failing on platforms with no native enum support.
No, the tests are failing on DBAL versions without EnumType.
I'm unsure where to go from here. It seems to me tests are failing on platforms with no native enum support.
No, the tests are failing on DBAL versions without
EnumType.
Unfortunately I'm out of ideas how to proceed from here. :)
Okay, got the history cleaned up now.
Auto closed due deleting the base branch or is there still hope to get something like this in?
Sorry, it was closed because I deleted the branch. Feel free to reopen against another branch.