Closed monodop closed 1 year ago
I believe it has to do specifically with this constraint. If I remove it, the issue goes away.
constraint name_valid_whitespace check (((name)::text !~ '(^\s)|(\s$)|(\s\s)'::text))
It looks like this same issue is also happening in the local table editor
Thanks for reporting @monodop! Going to transfer this to supabase/postgres-meta
for further discussion.
Bug report
Describe the bug
running
supabase gen types typescript
generates an invalid typescript typing:To Reproduce
Expected behavior
the
name
field should not be duplicated in the output tsSystem information