summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-27 20:21:18 +0100
committerDan McGee <dan@archlinux.org>2010-02-27 20:36:58 +0100
commit512f20ed034d4e5e7e81fea9c271a957cc768dfe (patch)
treedea0e72248faf0a4ca37ec8fc06ce87afee58826 /main/models.py
parentffa7ea1b1f276ba146be5a8533a1125ee947e433 (diff)
downloadarchweb-512f20ed034d4e5e7e81fea9c271a957cc768dfe.tar.gz
archweb-512f20ed034d4e5e7e81fea9c271a957cc768dfe.tar.xz
Add a files_last_update column
This is necessary to keep all of our junk in sync since we aren't guaranteed to have an up to date files database all the time. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 373c3e0..dd37f88 100644
--- a/main/models.py
+++ b/main/models.py
@@ -174,6 +174,7 @@ class Package(models.Model):
installed_size = models.PositiveIntegerField(null=True)
build_date = models.DateTimeField(null=True)
last_update = models.DateTimeField(null=True, blank=True)
+ files_last_update = models.DateTimeField(null=True, blank=True)
license = models.CharField(max_length=255)
objects = PackageManager()
class Meta: