Commit 56dd692b authored by Michael Rose's avatar Michael Rose

story: update: dont check prefix

parent a85e89d9
......@@ -18,7 +18,7 @@ class StoryUpdate < ActiveRecord::Base
id = 2300000
StoryUpdate.all.find_in_batches(start: id, batch_size: 1000) do |updates|
updates.each do |update|
if update.update_contents.is_a?(String) and update.update_contents.starts_with?('"')
if update.update_contents.is_a?(String)
update.update_contents = JSON.parse(update.update_contents)!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment