mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-01 12:35:43 +00:00
Avoids a Postgres error where the clamp UPDATE and the following ALTER TABLE on paperless_mail_mailrule share a transaction, but the table's FKs are deferrable, so pending trigger events block the ALTER. Also fixes a verbose_name mismatch in migration 0013.
24 lines
675 B
Python
24 lines
675 B
Python
# Generated by Django 5.2.14 on 2026-06-14 14:22
|
|
|
|
import django.core.validators
|
|
from django.db import migrations
|
|
from django.db import models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("paperless", "0012_applicationconfiguration_llm_output_language"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="applicationconfiguration",
|
|
name="llm_request_timeout",
|
|
field=models.PositiveSmallIntegerField(
|
|
null=True,
|
|
validators=[django.core.validators.MinValueValidator(1)],
|
|
verbose_name="Sets the LLM timeout in seconds",
|
|
),
|
|
),
|
|
]
|