discourse/db/migrate/20121018182709_fix_notifica...

9 lines
185 B
Ruby
Raw Normal View History

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