discourse/db/migrate/20121018182709_fix_notification_data.rb

9 lines
180 B
Ruby
Raw Normal View History

2013-02-05 13:16:51 -06:00
class FixNotificationData < ActiveRecord::Migration
def up
execute "UPDATE notifications SET data = replace(data, 'thread_title', 'topic_title')"
end
def down
end
end