Closed d9k closed 7 months ago
Adding description in Supabase admin UI:
I was able to write script which grabs description info using SQL query via PostgreSQL connection to Supabase.
Supabase as single source of truth for fields descriptions can be very useful to construct form fields, for example.
We will support dumping of comments in this PR https://github.com/supabase/cli/pull/1981
Typegen comments are tracked in this issue https://github.com/supabase/cli/issues/412
There must be fields descriptions (comments)
1) in dumps in form of
2) in generated typescript types as docstrings before corresponding field names.
SQL to get descriptions manually
(thanks to https://stackoverflow.com/a/4946306/1760643)