-
Notifications
You must be signed in to change notification settings - Fork 157
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
One-to-one relations are incorrectly exported as one-to-many in mermaid diagram #534
Labels
bug
Something isn't working
Comments
Hi @kk-mats. Thank you for your report. |
I added an example code here that reproduces this issue. |
@kk-mats GREAT!!!! Thank you!!!!! |
Released as v1.71.1. We've fixed it, please check it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened
Write tbls.yml to set one-to-one relations to tables without foreign keys and create a mermaid er diagram by tbls.
However, the tables were in one to many relations in exported diagram.
What you expected to happened
Exported as one to one in mermaid diagram if one to one relations are set in tbls.yml.
What stack trace or error message from tbls did you see?
No errors were shown.
Anything else we need to know?
Environment
tbls version
: Tried 1.60, 1.62, 1.70 but not resolved.Ubuntu bionic
,macOS Calalina
,WSL2
, etc ): WSL2bash
,zsh
,poworshell
, etc ): BashDEBUG=1
)The text was updated successfully, but these errors were encountered: