diff options
author | Magnus Hagander | 2013-08-18 15:54:29 +0000 |
---|---|---|
committer | Magnus Hagander | 2013-08-18 15:54:29 +0000 |
commit | 9e842b511ceff45b0e86f2116425faa78fcb0f72 (patch) | |
tree | c537d7a7b8dd182e2e084d76702a81ab4d53c03e /pgcommitfest/commitfest/models.py | |
parent | 66ca5a125b0ad16d867ce65d3621156765f7b43e (diff) |
Track which attachments are actually patches
This weill eventually get exposed as some sort of API for a buildbot,
but we might as well track it and show it on the website already now.
Diffstat (limited to 'pgcommitfest/commitfest/models.py')
-rw-r--r-- | pgcommitfest/commitfest/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py index e4326db..e7ac9c7 100644 --- a/pgcommitfest/commitfest/models.py +++ b/pgcommitfest/commitfest/models.py @@ -184,8 +184,10 @@ class MailThread(models.Model): class MailThreadAttachment(models.Model): mailthread = models.ForeignKey(MailThread, null=False, blank=False) messageid = models.CharField(max_length=1000, null=False, blank=False) + attachmentid = models.IntegerField(null=False, blank=False) date = models.DateTimeField(null=False, blank=False) author = models.CharField(max_length=500, null=False, blank=False) + ispatch = models.NullBooleanField() class Meta: ordering = ('-date',) |