mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'fix-package-vote' into pu
This commit is contained in:
commit
8b350066c1
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ class PackageVote(Base):
|
|||
foreign_keys=[__table__.c.UsersID])
|
||||
|
||||
PackageBase = relationship(
|
||||
_PackageBase, backref=backref("package_votes", lazy="dynamic"),
|
||||
_PackageBase, backref=backref("package_votes", lazy="dynamic",
|
||||
cascade="all, delete"),
|
||||
foreign_keys=[__table__.c.PackageBaseID])
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
Loading…
Add table
Reference in a new issue