Add missing migrations
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import mayan.apps.document_signatures.models
|
||||
import mayan.apps.storage.classes
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('document_signatures', '0009_auto_20190711_0544'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='signaturebasemodel',
|
||||
options={
|
||||
'ordering': ('pk',),
|
||||
'verbose_name': 'Document version signature',
|
||||
'verbose_name_plural': 'Document version signatures'
|
||||
},
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='detachedsignature',
|
||||
name='signature_file',
|
||||
field=models.FileField(
|
||||
blank=True, help_text='Signature file previously generated.',
|
||||
null=True,
|
||||
storage=mayan.apps.storage.classes.FakeStorageSubclass(),
|
||||
upload_to=mayan.apps.document_signatures.models.upload_to,
|
||||
verbose_name='Signature file'
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='signaturebasemodel',
|
||||
name='key_id',
|
||||
field=models.CharField(
|
||||
help_text='ID of the key that will be used to sign the '
|
||||
'document.', max_length=40, verbose_name='Key ID'
|
||||
),
|
||||
),
|
||||
]
|
||||
23
mayan/apps/documents/migrations/0052_auto_20191130_2209.py
Normal file
23
mayan/apps/documents/migrations/0052_auto_20191130_2209.py
Normal file
@@ -0,0 +1,23 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('documents', '0051_documentpage_enabled'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='documentpage',
|
||||
name='document_version',
|
||||
field=models.ForeignKey(
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
related_name='version_pages', to='documents.DocumentVersion',
|
||||
verbose_name='Document version'
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,21 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('file_caching', '0002_auto_20190729_0236'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='cache',
|
||||
name='name',
|
||||
field=models.CharField(
|
||||
db_index=True, help_text='Internal name of the cache.',
|
||||
max_length=128, unique=True, verbose_name='Name'
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user