Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support for DBAL 4.2 EnumType in SchemaTool#11657

Merged
derrabus merged 1 commit into
doctrine:3.3.xfrom
beberlei:EnumTypeSupport
Oct 11, 2024
Merged

Support for DBAL 4.2 EnumType in SchemaTool#11657
derrabus merged 1 commit into
doctrine:3.3.xfrom
beberlei:EnumTypeSupport

Conversation

@beberlei
Copy link
Copy Markdown
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;

@beberlei beberlei requested a review from derrabus October 10, 2024 13:46
@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
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