A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Add missing migration for savedviewfilterrule
Felix Eckhofera1d1fb962b04
diff --git a/src/documents/migrations/1017_alter_savedviewfilterrule_rule_type.py b/src/documents/migrations/1017_alter_savedviewfilterrule_rule_type.pynew file mode 100644index 000000000..52db95138--- /dev/null+++ b/src/documents/migrations/1017_alter_savedviewfilterrule_rule_type.py@@ -0,0 +1,45 @@+# Generated by Django 3.2.12 on 2022-03-17 11:59++from django.db import migrations, models+++class Migration(migrations.Migration):++ dependencies = [+ ("documents", "1016_auto_20210317_1351"),+ ]++ operations = [+ migrations.AlterField(+ model_name="savedviewfilterrule",+ name="rule_type",+ field=models.PositiveIntegerField(+ choices=[+ (0, "title contains"),+ (1, "content contains"),+ (2, "ASN is"),+ (3, "correspondent is"),+ (4, "document type is"),+ (5, "is in inbox"),+ (6, "has tag"),+ (7, "has any tag"),+ (8, "created before"),+ (9, "created after"),+ (10, "created year is"),+ (11, "created month is"),+ (12, "created day is"),+ (13, "added before"),+ (14, "added after"),+ (15, "modified before"),+ (16, "modified after"),+ (17, "does not have tag"),+ (18, "does not have ASN"),+ (19, "title or content contains"),+ (20, "fulltext query"),+ (21, "more like this"),+ (22, "has tags in"),+ ],+ verbose_name="rule type",+ ),+ ),+ ]