BOCOVO / db-schema-visualizer

A Visual Studio Code extension to visualize database schemas as Entity Relationship Diagrams (ERD) from DBML or Prisma files directly within the editor.
MIT License
52 stars 7 forks source link

Plugin behaves weird if there is similar table names in different schema #53

Closed xemuliam closed 2 months ago

xemuliam commented 2 months ago

What's wrong

Plugin behaves weird if there is similar table names in different schema. Tables are underlayed each other. You can see two tables by dragging table on canvas. Both tables will be visible until you release MLB and don't move cursor. If MLB released and cursor has been moved then one table disappears. Then you can repeat above exercise as many times as you want. Auto-arrange doesn't help at all.

Expected behaviour

To see all objects from all schemas. The same name in different schemas should not affect any process.

How to reproduce:

Actions are decribed above.

Here is the code.

table stage.test {
  field1 integer
}

table core.test {
  field2 integer
}
BOCOVO commented 2 months ago

Hello @xemuliam !

Thank you for submitting the issue and for your clear description. I think I have an idea of the problem. I solve it as soon as possible.

BOCOVO commented 2 months ago

Hello @xemuliam ! The issue was fixed, and a new version was released for that (v.0.3.2). It would be great to have your feedback.

xemuliam commented 2 months ago

Hi @BOCOVO ,

checked and LGTM.

Thanks!

BOCOVO commented 2 months ago

Hi @BOCOVO ,

checked and LGTM.

Thanks!

Thank you for the feedback.