On Dec 21, 2012, at 7:14 AM, tonthon wrote:
> Hi,
>
> I've got a joined inheritance :
>
> class Task(Base):
> __tablename__ = 'task'
> id = Column(Integer, primary_key=True)
>
> class Invoice(Task):
> __tablename__ = 'invoice'
> id = Column(ForeignKey("task.id"))
>
> When I delete an i
Hi,
I've got a joined inheritance :
class Task(Base):
__tablename__ = 'task'
id = Column(Integer, primary_key=True)
class Invoice(Task):
__tablename__ = 'invoice'
id = Column(ForeignKey("task.id"))
When I delete an invoice, the associated task is also deleted, that's ok.
I've got a