From b72495b9e61d6ef1cebce5bd8d1f89f0a5584ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20H=C3=A1la?= Date: Fri, 14 Jun 2024 14:48:13 +0200 Subject: [PATCH] Add missing migrations --- ...e_pdfrequest_automated_category_present.py | 17 ++++++++++++ tenants/migrations/0004_alter_tenant_icon.py | 26 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 pdf/migrations/0025_remove_pdfrequest_automated_category_present.py create mode 100644 tenants/migrations/0004_alter_tenant_icon.py diff --git a/pdf/migrations/0025_remove_pdfrequest_automated_category_present.py b/pdf/migrations/0025_remove_pdfrequest_automated_category_present.py new file mode 100644 index 0000000..0cf0a68 --- /dev/null +++ b/pdf/migrations/0025_remove_pdfrequest_automated_category_present.py @@ -0,0 +1,17 @@ +# Generated by Django 5.0.6 on 2024-06-14 12:47 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("pdf", "0024_alter_pdfrequest_link"), + ] + + operations = [ + migrations.RemoveConstraint( + model_name="pdfrequest", + name="automated_category_present", + ), + ] diff --git a/tenants/migrations/0004_alter_tenant_icon.py b/tenants/migrations/0004_alter_tenant_icon.py new file mode 100644 index 0000000..92bf5ca --- /dev/null +++ b/tenants/migrations/0004_alter_tenant_icon.py @@ -0,0 +1,26 @@ +# Generated by Django 5.0.6 on 2024-06-14 12:47 + +import tenants.models +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("tenants", "0003_tenant_icon"), + ] + + operations = [ + migrations.AlterField( + model_name="tenant", + name="icon", + field=models.ImageField( + blank=True, + help_text="Optional Site logo, should be around 50x50 and in PNG format", + null=True, + upload_to="uploads/", + validators=[tenants.models.only_png], + verbose_name="Logo", + ), + ), + ]