Files
discourse/db/migrate/20190731090219_rename_edit_notification_setting.rb
T

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

8 lines
245 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RenameEditNotificationSetting < ActiveRecord::Migration[5.2]
def change
execute "UPDATE site_settings SET name = 'disable_system_edit_notifications' WHERE name = 'disable_edit_notifications'"
end
end