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.conf import settings
from django.db import migrations, models from django.db import migrations, models
@ -26,20 +26,47 @@ class Migration(migrations.Migration):
verbose_name="ID", verbose_name="ID",
), ),
), ),
("folder", models.CharField(max_length=256, verbose_name="folder")), (
("uid", models.CharField(max_length=256, verbose_name="folder")), "folder",
("subject", models.CharField(max_length=256, verbose_name="subject")), models.CharField(
("received", models.DateTimeField(verbose_name="received")), 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", "processed",
models.DateTimeField( 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", "error",
models.TextField(blank=True, null=True, verbose_name="error"), models.TextField(
blank=True, editable=False, null=True, verbose_name="error"
),
), ),
( (
"owner", "owner",
@ -54,6 +81,7 @@ class Migration(migrations.Migration):
( (
"rule", "rule",
models.ForeignKey( models.ForeignKey(
editable=False,
on_delete=django.db.models.deletion.CASCADE, on_delete=django.db.models.deletion.CASCADE,
to="paperless_mail.mailrule", to="paperless_mail.mailrule",
), ),