[英]Using ancestry gem, how do I allow 1 node to have 2 parents?
Each parent can already have more than 1 children. 每个父母已经可以有一个以上的孩子。 How do I allow the reverse, ie 1 child to 2 parents?
我如何允许反向,即1个孩子对2个父母?
Is that even possible? 那有可能吗?
Not really. 并不是的。
Ancestry
models tree hierarchies - that's one parent per child node. Ancestry
模型树层次结构-每个子节点一个父级。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.