mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
54 lines
1.6 KiB
Python
54 lines
1.6 KiB
Python
# Generated by Django 1.9 on 2016-02-27 17:54
|
|
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("documents", "0009_auto_20160214_0040"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Log",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.AutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("group", models.UUIDField(blank=True)),
|
|
("message", models.TextField()),
|
|
(
|
|
"level",
|
|
models.PositiveIntegerField(
|
|
choices=[
|
|
(10, "Debugging"),
|
|
(20, "Informational"),
|
|
(30, "Warning"),
|
|
(40, "Error"),
|
|
(50, "Critical"),
|
|
],
|
|
default=20,
|
|
),
|
|
),
|
|
(
|
|
"component",
|
|
models.PositiveIntegerField(
|
|
choices=[(1, "Consumer"), (2, "Mail Fetcher")],
|
|
),
|
|
),
|
|
("created", models.DateTimeField(auto_now_add=True)),
|
|
("modified", models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
"ordering": ("-modified",),
|
|
},
|
|
),
|
|
]
|