fix migrations from stable

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Marc 'risson' Schmitt 2023-12-28 15:13:12 +01:00
parent 89fbea3305
commit 7ab3066ad9
No known key found for this signature in database
GPG Key ID: 9C3FA22FABF1AA8D
2 changed files with 6 additions and 1 deletions

View File

@ -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
),

View File

@ -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",