]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
make old paperlesstask name field nullable to fix downgrade migration 2494/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 23 Jan 2023 21:31:01 +0000 (13:31 -0800)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 23 Jan 2023 21:31:01 +0000 (13:31 -0800)
src/documents/migrations/1022_paperlesstask.py

index b89e9bbac9f577c01752f42bffa43c8f2e866f45..5f1293a1eec3854eb3945ab135b9b8b98474ea4b 100644 (file)
@@ -24,7 +24,7 @@ class Migration(migrations.Migration):
                     ),
                 ),
                 ("task_id", models.CharField(max_length=128)),
-                ("name", models.CharField(max_length=256)),
+                ("name", models.CharField(max_length=256, null=True)),
                 (
                     "created",
                     models.DateTimeField(auto_now=True, verbose_name="created"),