diff --git a/authentik/brands/migrations/0001_squashed_0005_tenant_web_certificate.py b/authentik/brands/migrations/0001_squashed_0005_tenant_web_certificate.py index 3697232c2..4d0e592f5 100644 --- a/authentik/brands/migrations/0001_squashed_0005_tenant_web_certificate.py +++ b/authentik/brands/migrations/0001_squashed_0005_tenant_web_certificate.py @@ -28,7 +28,7 @@ class Migration(migrations.Migration): name="Brand", fields=[ ( - "brand_uuid", + "tenant_uuid", models.UUIDField( default=uuid.uuid4, editable=False, primary_key=True, serialize=False ), diff --git a/authentik/brands/migrations/0005_remove_brand_event_retention.py b/authentik/brands/migrations/0005_tenantuuid_to_branduuid.py similarity index 70% rename from authentik/brands/migrations/0005_remove_brand_event_retention.py rename to authentik/brands/migrations/0005_tenantuuid_to_branduuid.py index 5fdbc8d1b..89f777822 100644 --- a/authentik/brands/migrations/0005_remove_brand_event_retention.py +++ b/authentik/brands/migrations/0005_tenantuuid_to_branduuid.py @@ -9,6 +9,11 @@ class Migration(migrations.Migration): ] operations = [ + migrations.RenameField( + model_name="brand", + old_name="tenant_uuid", + new_name="brand_uuid", + ), migrations.RemoveField( model_name="brand", name="event_retention",