ForeignKey to Subclass whose primary key is a foreign key doesn't work

Issue #6 new
Moritz Schlarb
created an issue

At least, the arrow doesn't get drawn.

Once again, in my application: , you can see that there is ForeignKey('') which itself is id = Column(Integer, ForeignKey(''), primary_key=True).

If I change the ForeignKey in the secondary mapping table to ForeignKey(''), the arrow gets drawn (but to the User entity of course, so I suppose it comes from the inheritance and uncommon ForeignKey placement.

Of couse, I can just add the two arrows in the dot-file, but maybe you'll want to have a look at it! ;)

Comments (4)

  1. Log in to comment