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?