Update processed mail migration

This commit is contained in:
shamoon 2023-03-03 10:40:29 -08:00
parent c5a21a3b0e
commit 9597358cb0

View File

@ -1,4 +1,4 @@
# Generated by Django 4.1.5 on 2023-02-21 17:15
# Generated by Django 4.1.5 on 2023-03-03 18:38
from django.conf import settings
from django.db import migrations, models
@ -26,20 +26,47 @@ class Migration(migrations.Migration):
verbose_name="ID",
),
),
("folder", models.CharField(max_length=256, verbose_name="folder")),
("uid", models.CharField(max_length=256, verbose_name="folder")),
("subject", models.CharField(max_length=256, verbose_name="subject")),
("received", models.DateTimeField(verbose_name="received")),
(
"folder",
models.CharField(
editable=False, max_length=256, verbose_name="folder"
),
),
(
"uid",
models.CharField(
editable=False, max_length=256, verbose_name="uid"
),
),
(
"subject",
models.CharField(
editable=False, max_length=256, verbose_name="subject"
),
),
(
"received",
models.DateTimeField(editable=False, verbose_name="received"),
),
(
"processed",
models.DateTimeField(
default=django.utils.timezone.now, verbose_name="processed"
default=django.utils.timezone.now,
editable=False,
verbose_name="processed",
),
),
(
"status",
models.CharField(
editable=False, max_length=256, verbose_name="status"
),
),
("status", models.CharField(max_length=256, verbose_name="status")),
(
"error",
models.TextField(blank=True, null=True, verbose_name="error"),
models.TextField(
blank=True, editable=False, null=True, verbose_name="error"
),
),
(
"owner",
@ -54,6 +81,7 @@ class Migration(migrations.Migration):
(
"rule",
models.ForeignKey(
editable=False,
on_delete=django.db.models.deletion.CASCADE,
to="paperless_mail.mailrule",
),