"Link table" to self? #1305
Closed
seancolsen
announced in
Maintainer discussions
Replies: 1 comment 2 replies
-
Yes, a user should be able to link a table to itself. We do still need at least the first question, because we may want to set up a mapping table instead of a FK. Consider the case where a user is adding a self-link to a
If it's easy to do, I recommend only the first question if the user selects the current table and then setting up the link appropriately. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@ghislaineguerin and @kgodey For #947 I'd like some clarity on the specs for the "Link Table" dialog. Should the user be able to link a table to itself? This type of schema is necessary for hierarchical relationships. But we could consider that use-case advanced-enough to warrant manual configuration through the constraints dialog. If we do want to support self-referential foreign keys in the "Link Table" dialog, I'd like some clarity on the two questions that come after the choice of table. They both seem to be irrelevant if the target table is the same as the starting table. Am I correct?
Beta Was this translation helpful? Give feedback.
All reactions