Skip to content

Commit e51e233

Browse files
committed
Fix repository 0061 migration
Fix the data migration which updated packageversion review status to the new default value from the old one
1 parent 47f0895 commit e51e233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/thunderstore/repository/migrations/0061_alter_packageversion_review.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def update_pending_to_unreviewed(apps, schema_editor):
2020
PackageVersion = apps.get_model("repository", "PackageVersion")
2121

2222
version_ids = (
23-
PackageVersion.objects.filter(review_status="pending")
23+
PackageVersion.objects.filter(review_status="skipped")
2424
.values_list("id", flat=True)
2525
.iterator()
2626
)

0 commit comments

Comments
 (0)