From 2c878318aba0a674c5fa8172d02c72965bf1a2a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20R=C3=BCmpelein?= Date: Sun, 29 May 2022 15:22:50 +0200 Subject: [PATCH] Add migration for new rule. --- .../migrations/0015_alter_mailrule_action.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/paperless_mail/migrations/0015_alter_mailrule_action.py diff --git a/src/paperless_mail/migrations/0015_alter_mailrule_action.py b/src/paperless_mail/migrations/0015_alter_mailrule_action.py new file mode 100644 index 000000000..62a44e6aa --- /dev/null +++ b/src/paperless_mail/migrations/0015_alter_mailrule_action.py @@ -0,0 +1,28 @@ +# Generated by Django 4.0.4 on 2022-05-29 13:21 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("paperless_mail", "0014_alter_mailrule_action"), + ] + + operations = [ + migrations.AlterField( + model_name="mailrule", + name="action", + field=models.PositiveIntegerField( + choices=[ + (1, "Delete"), + (2, "Move to specified folder"), + (3, "Mark as read, don't process read mails"), + (4, "Flag the mail, don't process flagged mails"), + (5, "Tag the mail with specified tag, don't process tagged mails"), + ], + default=3, + verbose_name="action", + ), + ), + ]