mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #2804 from paperless-ngx/fix-processed-mail-migration
Update processed mail migration
This commit is contained in:
commit
3dbb7e5781
@ -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",
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user