Browse Source

#203

feature/203
みてるぞ 2 days ago
parent
commit
df38835f6e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      backend/lib/tasks/migrate_wiki.rake

+ 1
- 0
backend/lib/tasks/migrate_wiki.rake View File

@@ -44,6 +44,7 @@ namespace :wiki do
end
line_ids = line_shas.map { |sha| line_id_by_sha.fetch(sha) }

rev = nil
ActiveRecord::Base.transaction do
wiki_page.lock!



Loading…
Cancel
Save