-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Postgres column comments appear as (NULL) #2183
Comments
@ellipsis-dev fix this? |
I was in the process of creating an implementation plan to fix the bug where column comments in the Postgres table structure view are showing as Implementation proposal (work in progress)Step 1: Modify the 'listTableColumns' function to fetch column commentsIn the '/apps/studio/src/lib/db/clients/postgresql.ts' file, modify the 'listTableColumns' function to fetch the column comments from the Postgres database. Add 'column_comment' to the SELECT clause of the SQL query. Map the 'column_comment' field to the 'comment' property of the returned objects. Make sure to handle any errors and edge cases, and to adhere to the existing code style and conventions. For more information about Ellipsis, check the documentation. |
Describe the bug
When choosing "View Structure" on a postgres table, none of the column comments appear, simply showing
(NULL)
instead.To Reproduce
Steps to reproduce the behavior:
View Structure
Expected behavior
Comments should appear
Screenshots / Gifs
If applicable, add screenshots or GIFS to help explain your problem.
Version Information (please complete the following information):
Additional context
Pretty sure this was working in a previous version
The text was updated successfully, but these errors were encountered: