added checksums for archived documents.

This commit is contained in:
jonaswinkler committed 2020-11-29 12:31:26 +01:00
1 parent fdaf419a7e
commit 24767f62c7
5 files changed
+57 -15

No files matched your search

+9 -3
View File
@@ -157,9 +157,15 @@ class Document(models.Model):
max_length=32,
editable=False,
unique=True,
help_text="The checksum of the original document (before it was "
"encrypted). We use this to prevent duplicate document "
"imports."
help_text="The checksum of the original document."
)
archive_checksum = models.CharField(
max_length=32,
editable=False,
blank=True,
null=True,
help_text="The checksum of the archived document."
)
created = models.DateTimeField(