Commit 664ff34
committed
fix: Add column name aliases for MySQL information_schema queries
MySQL's information_schema columns are uppercase (COLUMN_NAME), but
PostgreSQL's are lowercase (column_name). Added explicit aliases to
get_primary_key_sql() and get_foreign_keys_sql() to ensure consistent
lowercase column names across both backends.
This fixes KeyError: 'column_name' in CI tests.1 parent 5b7f6d7 commit 664ff34
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
| 591 | + | |
591 | 592 | | |
592 | 593 | | |
593 | 594 | | |
| |||
0 commit comments