-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add storage_path index on ReportSession
- Loading branch information
1 parent
4201051
commit de7616f
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
shared/django_apps/reports/migrations/0039_reportsession_upload_storage_path_idx.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 4.2.16 on 2025-01-28 15:28 | ||
|
||
from django.db import migrations, models | ||
|
||
""" | ||
BEGIN; | ||
-- | ||
-- Create index upload_storage_path_idx on field(s) storage_path of model reportsession | ||
-- | ||
CREATE INDEX "upload_storage_path_idx" ON "reports_upload" ("storage_path"); | ||
COMMIT; | ||
""" | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("reports", "0038_remove_test_reports_test_repoid_name_testsuite_flags_hash"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddIndex( | ||
model_name="reportsession", | ||
index=models.Index(fields=["storage_path"], name="upload_storage_path_idx"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters