Skip to content

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

Fixes the 0023 migration to include the new help text and verbose name

Trenton Holmes62c417cd5189
diff --git a/src/paperless_mail/migrations/0023_remove_mailrule_filter_attachment_filename_and_more.py b/src/paperless_mail/migrations/0023_remove_mailrule_filter_attachment_filename_and_more.py
index 17cb7d645..1a1eac790 100644
--- a/src/paperless_mail/migrations/0023_remove_mailrule_filter_attachment_filename_and_more.py
+++ b/src/paperless_mail/migrations/0023_remove_mailrule_filter_attachment_filename_and_more.py
@@ -1,4 +1,4 @@
-# Generated by Django 4.2.7 on 2023-11-28 17:47
+# Generated by Django 4.2.7 on 2023-12-04 03:06
from django.db import migrations
from django.db import models
@@ -26,4 +26,15 @@ class Migration(migrations.Migration):
verbose_name="filter attachment filename exclusive",
),
),
+ migrations.AlterField(
+ model_name="mailrule",
+ name="filter_attachment_filename_include",
+ field=models.CharField(
+ blank=True,
+ help_text="Only consume documents which entirely match this filename if specified. Wildcards such as *.pdf or *invoice* are allowed. Case insensitive.",
+ max_length=256,
+ null=True,
+ verbose_name="filter attachment filename inclusive",
+ ),
+ ),
]