-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support options like charset and collation on DiscriminatedColumn #10601
Support options like charset and collation on DiscriminatedColumn #10601
Conversation
4c7789c
to
f435baa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a new feature, and as such should target 2.15.x
* | ||
* @return $this | ||
*/ | ||
public function setDiscriminatorColumn($name, $type = 'string', $length = 255, ?string $columnDefinition = null, ?string $enumType = null) | ||
public function setDiscriminatorColumn($name, $type = 'string', $length = 255, ?string $columnDefinition = null, ?string $enumType = null, array $options = []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically a breaking change for extending classes, but we didn't frown upon a similar change in #10288 , so maybe we should just make the class as final on 3.0.x.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, that PR modified docs/en/reference/php-mapping.rst , and this one should too I think. You might want to look at that PR for other changes that need to be done.
f435baa
to
dc3f3f7
Compare
dc3f3f7
to
7f08f33
Compare
7a53e72
to
2f7ac47
Compare
2f7ac47
to
f215515
Compare
Thanks @JanTvrdik ! |
Closes: #10462