Report hasn't been filed before.
What version of drizzle-orm are you using?
0.45.2
What version of drizzle-kit are you using?
0.31.10
Other packages
No response
Describe the Bug
drizzle-kit pull fails on MySQL 5.7.26 even though the database connection is valid and table/column/index introspection succeeds. After local debugging, I found that MySQL introspection queries information_schema.check_constraints, but this table does not exist in MySQL 5.7, so the command fails with ER_UNKNOWN_TABLE: Unknown table 'check_constraints' in information_schema. The CLI then exits with code 1 without surfacing the real database error, which makes the failure look silent. This seems to be a MySQL 5.7 compatibility issue in pull, plus missing error reporting for the underlying query failure.
Report hasn't been filed before.
What version of
drizzle-ormare you using?0.45.2
What version of
drizzle-kitare you using?0.31.10
Other packages
No response
Describe the Bug
drizzle-kit pullfails on MySQL 5.7.26 even though the database connection is valid and table/column/index introspection succeeds. After local debugging, I found that MySQL introspection queriesinformation_schema.check_constraints, but this table does not exist in MySQL 5.7, so the command fails withER_UNKNOWN_TABLE: Unknown table 'check_constraints' in information_schema. The CLI then exits with code1without surfacing the real database error, which makes the failure look silent. This seems to be a MySQL 5.7 compatibility issue inpull, plus missing error reporting for the underlying query failure.