null values after supabase gen types command

67 Views Asked by At

enter image description here

I am trying to generate types for typescript project and I am connected to Supabase.
Database has tables, and thus a schema, yet after running the command below, the supabase.ts file gets filled with null (NUL) as in the image.

npx supabase gen types typescript --project-id myprojectid --schema public > src/types/supabase.ts

Can someone provide a solution?

0

There are 0 best solutions below