-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Use enum values from enumType in DiscriminatorColumn and check DiscriminatorMap values against it #11804
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
Use enum values from enumType in DiscriminatorColumn and check DiscriminatorMap values against it #11804
Conversation
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 |
Unfortunately I'm out of ideas how to proceed from here. :) |
…nto fix-enum-discriminator-column
d699266
to
0f11930
Compare
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. |
Fix for issue #11794.
Currently the values of enumType in DiscriminatorColumn are ignored which results in an error when generating a migration:
Fixed by populating values from the enum and also prevent invalid entries in DiscriminatorMap.