mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
Change default storage_type to unencrypted
This commit is contained in:
parent
52b0249d71
commit
5643d89270
20
src/documents/migrations/0021_auto_20180527_1653.py
Normal file
20
src/documents/migrations/0021_auto_20180527_1653.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.13 on 2018-05-27 16:53
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('documents', '0020_document_storage_type'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='document',
|
||||||
|
name='storage_type',
|
||||||
|
field=models.CharField(choices=[('unencrypted', 'Unencrypted'), ('gpg', 'Encrypted with GNU Privacy Guard')], default='unencrypted', editable=False, max_length=11),
|
||||||
|
),
|
||||||
|
]
|
@ -239,7 +239,7 @@ class Document(models.Model):
|
|||||||
storage_type = models.CharField(
|
storage_type = models.CharField(
|
||||||
max_length=11,
|
max_length=11,
|
||||||
choices=STORAGE_TYPES,
|
choices=STORAGE_TYPES,
|
||||||
default=STORAGE_TYPE_GPG,
|
default=STORAGE_TYPE_UNENCRYPTED,
|
||||||
editable=False
|
editable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user