diff --git a/src/documents/migrations/1055_alter_storagepath_path.py b/src/documents/migrations/1055_alter_storagepath_path.py index 8231aacd7..1421bf824 100644 --- a/src/documents/migrations/1055_alter_storagepath_path.py +++ b/src/documents/migrations/1055_alter_storagepath_path.py @@ -27,7 +27,7 @@ class Migration(migrations.Migration): migrations.AlterField( model_name="storagepath", name="path", - field=models.CharField(max_length=2048, verbose_name="path"), + field=models.TextField(verbose_name="path"), ), migrations.RunPython( convert_from_format_to_template, diff --git a/src/documents/models.py b/src/documents/models.py index 23325739c..37c86305c 100644 --- a/src/documents/models.py +++ b/src/documents/models.py @@ -125,9 +125,8 @@ class DocumentType(MatchingModel): class StoragePath(MatchingModel): - path = models.CharField( + path = models.TextField( _("path"), - max_length=2048, ) class Meta(MatchingModel.Meta):