hasura / graphql-engine

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
https://hasura.io
Apache License 2.0
31.18k stars 2.77k forks source link

One tables index is showing on anothers #9027

Open Jatin-MYST opened 2 years ago

Jatin-MYST commented 2 years ago

Version Information

Server Version: CLI Version (for CLI related issue): v2.12.0 console

Environment

selfhosted/docker

What is the current behaviour?

If you have two tables in different schemas but named the same. Their indexes are shown on both tables. image image

What is the expected behaviour?

Their indexes should be treated as different.

How to reproduce the issue?

  1. Create a table named 'x' in one schema
  2. Create a table named 'x' in another schema
  3. Check their indexes
nbouvrette commented 1 year ago

I was about to create a new bug on this issue that I just found out. It is still a problem on 2.16.1

nbouvrette commented 1 year ago

@rikinsk is there any update or plan on fixing this bug? it's making it really hard to use multiple schemas.