diff --git a/apiserver/back_migration.py b/apiserver/back_migration.py index 98f194753..33513f15c 100644 --- a/apiserver/back_migration.py +++ b/apiserver/back_migration.py @@ -33,7 +33,7 @@ def update_comments(): issue_comment.comment_html = f"

{issue_comment.comment_stripped}

" updated_issue_comments.append(issue_comment) - Issue.objects.bulk_update( + IssueComment.objects.bulk_update( updated_issue_comments, ["comment_html"], batch_size=100 ) print("Success")