discourse/db/migrate/20130621042855_change_supress_to_suppress.rb

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

12 lines
349 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ChangeSupressToSuppress < ActiveRecord::Migration[4.2]
def up
2017-07-28 09:20:09 +08:00
SiteSetting.where(name: "suppress_reply_directly_below").update_all(name: "supress_reply_directly_below")
end
def down
2017-07-28 09:20:09 +08:00
SiteSetting.where(name: "supress_reply_directly_below").update_all(name: "suppress_reply_directly_below")
end
end