summaryrefslogtreecommitdiff
path: root/packages/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-07 16:50:06 -0500
committerDan McGee <dan@archlinux.org>2012-07-08 21:08:03 -0500
commit4cd588ae898c2abc8035cf0165ccdd038f2321bd (patch)
tree8e27995e2a6d322dfcd6b7118e536873ff030c38 /packages/models.py
parenta87da032cb6b5b84624e4205b5f8b7cab37249cd (diff)
Add triggers for adding package update rows
This will be done instead of doing this logic at the application level, which has some subtle race conditions. When two simultaneous threads attempt to delete the same package, two update rows for the delete action are inserted. When done at the database level, we can ensure a one-to-one mapping between row operations and entries in this table. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/models.py')
0 files changed, 0 insertions, 0 deletions