This commit is contained in:
2025-12-29 07:02:02 +09:00
parent 2832d0a6ca
commit 23d6303b49
6 changed files with 32 additions and 36 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ module Wiki
end
if missing_rows.any?
WikiLine.upsert_all(missing_rows, unique_by: :index_wiki_lines_on_sha256)
WikiLine.upsert_all(missing_rows)
id_by_sha = WikiLine.where(sha256: line_shas).pluck(:sha256, :id).to_h
end