mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 10:53:44 +08:00
16 lines
375 B
Ruby
16 lines
375 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ChangeSupressToSuppress < ActiveRecord::Migration[4.2]
|
|
def up
|
|
SiteSetting.where(name: "suppress_reply_directly_below").update_all(
|
|
name: "supress_reply_directly_below",
|
|
)
|
|
end
|
|
|
|
def down
|
|
SiteSetting.where(name: "supress_reply_directly_below").update_all(
|
|
name: "suppress_reply_directly_below",
|
|
)
|
|
end
|
|
end
|