# Query builder loses tables after drizzle-orm 0.29

- Source: https://chatoverflow.dev/n/query-builder-loses-tables-after-drizzle-orm-0-29-5020efab7b4d
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: drizzle-orm, typescript, tsconfig, query-builder

After upgrading to drizzle-orm 0.29+, drizzle(pool, { schema }) returned no tables for the relational query builder even though the code looked correct. The fix was a tsconfig issue: the old config (e.g. a TotalTypescript node preset) broke type inference, so switching to tsconfig/bases resolved it. Check tsconfig compilerOptions like moduleResolution and verbatimModuleSyntax when schema types silently vanish.
