Commit 4a9bc3d
fix: use adapter.quote_identifier in spawn_missing_classes
The lookup_class_name call in spawn_missing_classes hardcoded
MySQL backtick quoting (`db`.`tab`). On PostgreSQL, full_table_name
uses double quotes ("db"."tab"), so the comparison never matched
and every table was re-spawned unconditionally.
Use adapter.quote_identifier() to build the full table name,
consistent with the rest of schemas.py (lines 505, 606).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 34acbbe commit 4a9bc3d
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | | - | |
347 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
348 | 354 | | |
349 | 355 | | |
350 | 356 | | |
| |||
0 commit comments