chore: IssueComment fix backpopulate data

This commit is contained in:
vamsi 2023-01-11 00:02:53 +05:30
parent bef166a65f
commit 95097bfbf2

View File

@ -33,7 +33,7 @@ def update_comments():
issue_comment.comment_html = f"<p>{issue_comment.comment_stripped}</p>" issue_comment.comment_html = f"<p>{issue_comment.comment_stripped}</p>"
updated_issue_comments.append(issue_comment) updated_issue_comments.append(issue_comment)
Issue.objects.bulk_update( IssueComment.objects.bulk_update(
updated_issue_comments, ["comment_html"], batch_size=100 updated_issue_comments, ["comment_html"], batch_size=100
) )
print("Success") print("Success")