Open
Description
Describe the bug
When I generate types, it does the basic processing of the schema I specified, but the helper types are only generated for the "public" schema, which is blank in my case.
To Reproduce
- Have a database with no tables in the public schema
- Create a "robo" schema with one table
- Run the gentypes command
supabase gen types typescript --schema robo --local > supabase/dbTypes.ts
Expected behavior
in my dbTypes.ts I should have helper types based on the specified "robo" schema.
Screenshots
The only schema in the database is "robo", but the only helpers are created from the "public" schema
System information
- Version of OS: Windows 11
- Version of CLI: 2.12.1
- Version of Docker: [e.g. v25.0.3]
- Versions of services:
SERVICE IMAGE │ LOCAL │ LINKED
─────────────────────────┼──────────────────┼─────────────
supabase/postgres │ 15.6.1.121 │ 15.6.1.121
supabase/gotrue │ v2.168.0 │ v2.168.0
postgrest/postgrest │ v12.2.3 │ v12.2.3
supabase/realtime │ v2.34.7 │ -
supabase/storage-api │ v1.17.1 │ v1.17.1
supabase/edge-runtime │ v1.67.0 │ -
supabase/studio │ 20250113-83c9420 │ -
supabase/postgres-meta │ v0.84.2 │ -
supabase/logflare │ 1.4.0 │ -
supabase/supavisor │ 1.1.56 │ -
Additional context
If applicable, add any other context about the problem here.
- Version of supabase-js: 2.48.1
- Version of Node.js: 20.18.2
Metadata
Metadata
Assignees
Labels
No labels