Skip to content

Commit 5404bd1

Browse files
committed
Fix migration order
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent ede5c36 commit 5404bd1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

vulnerabilities/migrations/0135_advisoryv2__all_impacts_unfurled_successfully_and_more.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ class Migration(migrations.Migration):
1818
help_text="Indicates whether all impacts for this advisory have been unfurled successfully.",
1919
),
2020
),
21+
migrations.AddIndex(
22+
model_name="advisoryv2",
23+
index=models.Index(
24+
fields=["_all_impacts_unfurled", "id"], name="advisory_unfurled_idx"
25+
),
26+
),
2127
]

0 commit comments

Comments
 (0)