Delete productUser
record when products
record is deleted
This commit is contained in:
parent
2b80fd6a6b
commit
c2723de467
|
@ -757,6 +757,7 @@ class ProductUser(Base):
|
|||
backref=orm.backref(
|
||||
'user_info',
|
||||
uselist=False,
|
||||
cascade='all, delete-orphan',
|
||||
doc="""
|
||||
Reference to the :class:`ProductUser` record for this product, if any.
|
||||
"""))
|
||||
|
|
Loading…
Reference in a new issue