Skip to content
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 for DBAL 4.2 EnumType in SchemaTool #11657

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

beberlei
Copy link
Member

The MySQL/Maria EnumType added in DBAL 4.2 has a new known option "values" that SchemaTool should know about so the following should now work automatically:

#[Column(type: "enum", options: ['values' => ['foo', 'bar', 'baz']])
public $choice;

@derrabus derrabus added this to the 3.3.0 milestone Oct 11, 2024
@derrabus derrabus merged commit 5bfb744 into doctrine:3.3.x Oct 11, 2024
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants