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
In one of my projects that used supabase-schema to generate the SQL scripts, many of fields use camelcase, hence the generated script by default does not work since Postgres require camelcase/uppercase fields to be included in double quotes. e.g. sourceRepo needs to be "sourceRepo"
Example Screenshot
Current fields that are generated
Running the above script will create the fields all in small caps, and all the calls to supabase DB from app will fail due to wrong schema.
Suggested solution
Hence, this issue is requesting for the generated script to include quotes.
P.S. I can also work on this if u can include hacktoberfest label to this 😄
The text was updated successfully, but these errors were encountered:
Description
In one of my projects that used supabase-schema to generate the SQL scripts, many of fields use camelcase, hence the generated script by default does not work since Postgres require camelcase/uppercase fields to be included in double quotes. e.g.
sourceRepo
needs to be"sourceRepo"
Example Screenshot
Current fields that are generated
Running the above script will create the fields all in small caps, and all the calls to supabase DB from app will fail due to wrong schema.
Suggested solution
Hence, this issue is requesting for the generated script to include quotes.
P.S. I can also work on this if u can include hacktoberfest label to this 😄
The text was updated successfully, but these errors were encountered: