diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/matchbox/db/main/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/matchbox/db/main/models.py b/src/matchbox/db/main/models.py index 1b9946b..9263470 100644 --- a/src/matchbox/db/main/models.py +++ b/src/matchbox/db/main/models.py @@ -26,6 +26,7 @@ class PackageProperties(models.Model): error_code = models.IntegerField() contents = models.ManyToManyField('File',through='PackageProperties_File') useflags = models.ManyToManyField('Useflag') + timeadded = models.DateTimeField(auto_now_add=True) class Attachment(models.Model): packageproperties = models.ForeignKey('PackageProperties') |