From 95097bfbf2cb57a83e9d21c9788803a7079b1eab Mon Sep 17 00:00:00 2001 From: vamsi Date: Wed, 11 Jan 2023 00:02:53 +0530 Subject: [PATCH] chore: IssueComment fix backpopulate data --- apiserver/back_migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")