mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-26 22:49:01 -06:00
Regenerate the migration
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Generated by Django 5.2.7 on 2025-11-04 18:34
|
# Generated by Django 5.2.9 on 2026-01-27 01:09
|
||||||
|
|
||||||
import django.db.models.deletion
|
import django.db.models.deletion
|
||||||
|
import django.db.models.functions.text
|
||||||
import django.utils.timezone
|
import django.utils.timezone
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib.auth.management import create_permissions
|
from django.contrib.auth.management import create_permissions
|
||||||
@@ -143,6 +144,14 @@ class Migration(migrations.Migration):
|
|||||||
verbose_name="built at",
|
verbose_name="built at",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
"documents",
|
||||||
|
models.ManyToManyField(
|
||||||
|
related_name="share_link_bundles",
|
||||||
|
to="documents.document",
|
||||||
|
verbose_name="documents",
|
||||||
|
),
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"owner",
|
"owner",
|
||||||
models.ForeignKey(
|
models.ForeignKey(
|
||||||
@@ -161,15 +170,6 @@ class Migration(migrations.Migration):
|
|||||||
"verbose_name_plural": "share link bundles",
|
"verbose_name_plural": "share link bundles",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
|
||||||
model_name="sharelinkbundle",
|
|
||||||
name="documents",
|
|
||||||
field=models.ManyToManyField(
|
|
||||||
related_name="share_link_bundles",
|
|
||||||
to="documents.document",
|
|
||||||
verbose_name="documents",
|
|
||||||
),
|
|
||||||
),
|
|
||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
grant_share_link_bundle_permissions,
|
grant_share_link_bundle_permissions,
|
||||||
reverse_code=revoke_share_link_bundle_permissions,
|
reverse_code=revoke_share_link_bundle_permissions,
|
||||||
|
|||||||
Reference in New Issue
Block a user