-
Notifications
You must be signed in to change notification settings - Fork 102
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
How to create one-to-one relation? #179
Comments
Hi @pikhovkin |
Hey @loicknuchel, I was confused^1 by the criteria you mentioned above and probably misunderstood what you meant with link to a unique column. As I may not be the only person, here's a how I would name the criteria for showing a one-to-one relation:
Would you agree? I'm sorry, I haven't gotten around to contribute any code to azimutt yet. It's on my bucket list of things to do before I die, but I have no idea when that will be. Keep up the great work! ^1: because foreign key constraints must point to a unique column^2, otherwise it's not a foreign key. |
Hi @michi-zuri You're right, I wrote too quickly, it's not a "link to a unique column" but a foreign key with a unique constraint. Don't worry about your contribution ;) |
No description provided.
The text was updated successfully, but these errors were encountered: