Fixed index name too long. Added icon and fixed unfold branding
This commit is contained in:
@@ -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"),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user