Skip to content
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

Existing enums are not visible in the editor #23417

Open
2 tasks done
yaronhb opened this issue Apr 29, 2024 · 0 comments
Open
2 tasks done

Existing enums are not visible in the editor #23417

yaronhb opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working database frontend Related to supabase dashboard needs-analysis Issue status is unknown and/or not possible to triage with the current info

Comments

@yaronhb
Copy link

yaronhb commented Apr 29, 2024

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The studio UI does not show enums that exist after creation.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

All using the UI:

  1. Create a schema named 'my_schema'
  2. Go the database enum management and select the schema
  3. Create a new enum named 'MyEnum' with values 'test1' and 'test2'
  4. See the create success message
  5. See that the UI does not display the newly created type
  6. Verify that the enum does, in fact, exist via the following query:
select
  enumlabel
from
  pg_enum
where
  enumtypid = (
    select
      oid
    from
      pg_type
    where
      typname = 'MyEnum'
      and typnamespace = (
        select
          oid
        from
          pg_namespace
        where
          nspname = 'my_schema'
      )
  );

Expected behavior

The enum type should appear in the UI.

Screenshots

After enum creation
Screenshot 2024-04-29 at 6 01 41 PM

Screenshot 2024-04-29 at 6 22 37 PM

System information

  • OS: [e.g. macOS, Windows]: macos using the supabase installer and docker desktop
  • Browser (if applies): safari
  • Version of supabase-cli: 1.163.2
@yaronhb yaronhb added the bug Something isn't working label Apr 29, 2024
@encima encima added frontend Related to supabase dashboard database needs-analysis Issue status is unknown and/or not possible to triage with the current info labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database frontend Related to supabase dashboard needs-analysis Issue status is unknown and/or not possible to triage with the current info
Projects
None yet
Development

No branches or pull requests

2 participants