Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

make old paperlesstask name field nullable to fix downgrade migration

Michael Shamoonf261c70f1e1d
diff --git a/src/documents/migrations/1022_paperlesstask.py b/src/documents/migrations/1022_paperlesstask.py
index b89e9bbac..5f1293a1e 100644
--- a/src/documents/migrations/1022_paperlesstask.py
+++ b/src/documents/migrations/1022_paperlesstask.py
@@ -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"),