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 character limits on exception_class and severity #2

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

fractaledmind
Copy link
Owner

In order to ensure that the uniqueness constraint index is below MySQL's max byte length.

Resolves #1

In order to ensure that the uniqueness constraint index is below MySQL's max byte length.

Resolves #1
@fractaledmind fractaledmind self-assigned this Jan 29, 2024
Copy link

@kmcphillips kmcphillips left a comment

Choose a reason for hiding this comment

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

This resolved my issue on MySQL 8 with utf8mb4_0900_ai_ci collation. Thanks!

@fractaledmind fractaledmind merged commit 709adad into main Jan 29, 2024
1 check passed
@fractaledmind fractaledmind deleted the mysql-key-limit branch January 29, 2024 14:34
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.

Mysql2::Error: Specified key was too long
2 participants