You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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
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.
The text was updated successfully, but these errors were encountered: