discourse/db/migrate/20121018182709_fix_notification_data.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
216 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class FixNotificationData < ActiveRecord::Migration[4.2]
2013-02-06 03:16:51 +08:00
def up
execute "UPDATE notifications SET data = replace(data, 'thread_title', 'topic_title')"
end
def down
end
end