mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-22 06:26:56 +01:00
create migration for original filename
This commit is contained in:
parent
3fcbd8f3ac
commit
4194b248b9
2 changed files with 19 additions and 1 deletions
18
src/documents/migrations/1023_document_original_filename.py
Normal file
18
src/documents/migrations/1023_document_original_filename.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.0.6 on 2022-07-25 06:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('documents', '1022_paperlesstask'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='document',
|
||||
name='original_filename',
|
||||
field=models.CharField(default=None, editable=False, help_text='The original name of the file when it was uploaded', max_length=1024, null=True, verbose_name='original filename'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue