mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-07 00:27:12 +00:00
update files and model to include new field
This commit is contained in:
1 parent
0878a199f4
commit
3fcbd8f3ac
5 files changed
+15
No files matched your search
@@ -214,6 +214,16 @@ class Document(models.Model):
|
||||
help_text=_("Current archive filename in storage"),
|
||||
)
|
||||
|
||||
original_filename = models.FilePathField(
|
||||
_("original filename"),
|
||||
max_length=1024,
|
||||
editable=False,
|
||||
default=None,
|
||||
unique=False,
|
||||
null=True,
|
||||
help_text=_("The original name of the file when it was uploaded")
|
||||
)
|
||||
|
||||
archive_serial_number = models.IntegerField(
|
||||
_("archive serial number"),
|
||||
blank=True,
|
||||
|
||||
Reference in new issue
Block a user