Signed-off-by: Torsten Werner <twerner@debian.org>
mapper(BinContents, self.tbl_bin_contents,
properties = dict(
binary = relation(DBBinary,
mapper(BinContents, self.tbl_bin_contents,
properties = dict(
binary = relation(DBBinary,
- backref=backref('contents', lazy='dynamic')),
+ backref=backref('contents', lazy='dynamic', cascade='all')),
file = self.tbl_bin_contents.c.file))
## Connection functions
file = self.tbl_bin_contents.c.file))
## Connection functions