Skip to content

Conversation

@adriendupuis
Copy link

@adriendupuis adriendupuis commented Dec 5, 2025

🎫 Issue IBX-XXXXX

Description:

Inject the default table options into the schema imported from file.

It avoids having DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` from https://github.com/doctrine/dbal/blob/3.10.x/src/Platforms/AbstractMySQLPlatform.php#L579-L600 when using ibexa:doctrine:schema:dump-sql on files like https://github.com/ibexa/oauth2-server/blob/main/src/bundle/Resources/config/schema.yaml or https://github.com/ibexa/shopping-list/blob/main/src/bundle/Resources/config/schema.yaml

Notice that it might disappear by itself if we move to doctrine/dbal 4 as there is no hardcoded charset in https://github.com/doctrine/dbal/blob/4.4.x/src/Platforms/AbstractMySQLPlatform.php#L331-L337

For QA:

Documentation:

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant