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

[mysql-kit]: handle lowercase information_schema_table_constraints columns #4321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattico
Copy link

@mattico mattico commented Mar 26, 2025

In certain circumstances the information_schema columns are lowercased from the db. This updates the mysqlSerializer to handle this case.

Fixes #3884

I suspect this may be a MariaDB vs MySQL difference, but I haven't confirmed it.

In my case (mariadb:10.11 docker) only the table_constraints and check_constraints tables' columns are lowercased, so I haven't updated the code for eg. INFORMATION_SCHEMA.STATISTICS or information_schema.referential_constraints.

…lumns

In certain circumstances the information_schema columns are lowercased from the db. This updates the mysqlSerializer to handle this case.

Fixes drizzle-team#3884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant