2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00
discourse/db/migrate/20121018182709_fix_notification_data.rb

8 lines
185 B
Ruby

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