diff --git a/src/paperless/migrations/0001_initial.py b/src/paperless/migrations/0001_initial.py index efe1ecd99..710eb2798 100644 --- a/src/paperless/migrations/0001_initial.py +++ b/src/paperless/migrations/0001_initial.py @@ -92,7 +92,7 @@ class Migration(migrations.Migration): ("redo", "redo"), ("force", "force"), ], - max_length=8, + max_length=16, null=True, verbose_name="Sets the OCR mode", ), diff --git a/src/paperless/models.py b/src/paperless/models.py index 643aeb6fd..672177f6f 100644 --- a/src/paperless/models.py +++ b/src/paperless/models.py @@ -83,7 +83,7 @@ class OcrSettings(AbstractSingletonModel): verbose_name=_("Sets the OCR mode"), null=True, blank=True, - max_length=8, + max_length=16, choices=ModeChoices.choices, )