Introspect doesn't detect tables in db

I'm porting my project from Prisma to Drizzle, and trying to auto-generate my schemas, tho introspect doesn't seem to work:
╰─> -_- % pnpm drizzle-kit introspect
No config path provided, using default 'drizzle.config.ts'
Reading config file './projectDir/drizzle.config.ts'
Pulling from ['public'] list of schemas

[✓] 0  tables fetched
[✓] 0  columns fetched
[✓] 0  indexes fetched
[✓] 12 foreign keys fetched

[✓] Your SQL migration file ➜ src/database/migrations/0000_real_punisher.sql 🚀
[✓] You schema file is ready ➜ src/database/migrations/schema.ts 🚀
[✓] You relations file is ready ➜ src/database/migrations/relations.ts 🚀

The output files it generates are empty.
Was this page helpful?