From f261c70f1e1d20ba864bd1a13f9aa22a3c78dfea Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 23 Jan 2023 13:31:01 -0800 Subject: [PATCH] make old paperlesstask name field nullable to fix downgrade migration --- src/documents/migrations/1022_paperlesstask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),