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

Set version_column_length to 191 to work with MySQL 8.0 and MariaDB 10.5 #722

Merged

Conversation

ittmann
Copy link
Contributor

@ittmann ittmann commented Aug 15, 2022

Lower version_column_length from 1024 tot 191
Fixes #720

Lower version_column_length from 1024 tot 191
@driehle driehle changed the title Update module.config.php Set version_column_length to 191 to work with MySQL 8.0 and MariaDB 10.5 Aug 16, 2022
@driehle driehle added the Bug Something isn't working label Aug 16, 2022
@driehle driehle self-assigned this Aug 16, 2022
@driehle driehle added this to the 5.2.1 milestone Aug 16, 2022
Copy link
Member

@driehle driehle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your PR. The failed CI pipeline seems to be unrelated and should be fixed by #723. Could you please rebase your changes on the current 5.2.x branch to see if this fixes your CI issue?

Furthermore, besides config/module.config.php there are a few other places where the column lenght should be changed:

  • ci/config/ci.config.php
  • docs/en/migrations.rst
  • tests/testing.config.php (two times)

Please include these changes as well.

@ittmann ittmann requested a review from driehle August 17, 2022 11:24
Copy link
Member

@driehle driehle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@driehle driehle merged commit fead97f into doctrine:5.2.x Aug 17, 2022
@ittmann ittmann deleted the module.config-version_column_length-191 branch August 17, 2022 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Specified key was too long; max key length is 767 bytes" - for version column
3 participants