Fixed index name too long. Added icon and fixed unfold branding

This commit is contained in:
2026-01-26 16:41:16 +00:00
parent e693a7616c
commit ed2f921b0f
6 changed files with 92 additions and 40 deletions

View File

@@ -70,6 +70,6 @@ class Migration(migrations.Migration):
),
migrations.AddIndex(
model_name="erasurerequest",
index=models.Index(fields=["user", "status"], name="accounts_erasure_user_status_idx"),
index=models.Index(fields=["user", "status"], name="accounts_er_user_status_idx"),
),
]

View File

@@ -45,7 +45,7 @@ class ErasureRequest(models.Model):
ordering = ["-requested_at"]
indexes = [
models.Index(fields=["status", "requested_at"], name="accounts_erasure_status_idx"),
models.Index(fields=["user", "status"], name="accounts_erasure_user_status_idx"),
models.Index(fields=["user", "status"], name="accounts_er_user_status_idx"),
]
def __str__(self) -> str: