discourse/db/migrate/20121018182709_fix_notifica...

11 lines
216 B
Ruby

# frozen_string_literal: true
class FixNotificationData < ActiveRecord::Migration[4.2]
def up
execute "UPDATE notifications SET data = replace(data, 'thread_title', 'topic_title')"
end
def down
end
end