mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-13 12:19:28 -05:00
Fix migrations from merge
This commit is contained in:
parent
360b11ae26
commit
2406f326af
@ -31,7 +31,7 @@ def migrate_date(apps, schema_editor):
|
|||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
dependencies = [
|
dependencies = [
|
||||||
("documents", "1065_workflowaction_assign_custom_fields_values"),
|
("documents", "1066_alter_workflowtrigger_schedule_offset_days"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
@ -6,8 +6,8 @@ from documents.tests.utils import TestMigrations
|
|||||||
|
|
||||||
|
|
||||||
class TestMigrateDocumentCreated(DirectoriesMixin, TestMigrations):
|
class TestMigrateDocumentCreated(DirectoriesMixin, TestMigrations):
|
||||||
migrate_from = "1065_workflowaction_assign_custom_fields_values"
|
migrate_from = "1066_alter_workflowtrigger_schedule_offset_days"
|
||||||
migrate_to = "1066_alter_document_created"
|
migrate_to = "1067_alter_document_created"
|
||||||
|
|
||||||
def setUpBeforeMigration(self, apps):
|
def setUpBeforeMigration(self, apps):
|
||||||
# create 600 documents
|
# create 600 documents
|
||||||
|
Loading…
x
Reference in New Issue
Block a user