diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-28 14:06:41 -0700 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-28 14:06:41 -0700 |
commit | 7d4a8b9adf353d7adce4c3c22101e774092eb4de (patch) | |
tree | f750c37fdad54efe80fd4cdf96104ff4aec9d883 /releng/models.py | |
parent | 1a55c0f0bc8359f85f6c23d69cdf3ca05a4d25a2 (diff) |
Add MD5 and SHA1 fields for releases
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng/models.py')
-rw-r--r-- | releng/models.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/releng/models.py b/releng/models.py index 19040905..dd034e7f 100644 --- a/releng/models.py +++ b/releng/models.py @@ -118,7 +118,9 @@ class Release(models.Model): release_date = models.DateField(db_index=True) version = models.CharField(max_length=50, unique=True) kernel_version = models.CharField(max_length=50, blank=True) - torrent_infohash = models.CharField(max_length=64, blank=True) + torrent_infohash = models.CharField(max_length=40, blank=True) + md5_sum = models.CharField('MD5 digest', max_length=32, blank=True) + sha1_sum = models.CharField('SHA1 digest', max_length=40, blank=True) file_size = PositiveBigIntegerField(null=True, blank=True) created = models.DateTimeField(editable=False) available = models.BooleanField(default=True) |