mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 01:14:29 +08:00
FIX: rename notify_about_flags_after to notify_about_reviewable_item_after (#21320)
Change name and description for SiteSetting to make it easier to understand.
This commit is contained in:

committed by
GitHub

parent
86385bc9cf
commit
a8e28060d1
@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RenameNotifyAboutFlagsAfterSiteSetting < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
execute "UPDATE site_settings SET name = 'notify_about_reviewable_item_after' WHERE name = 'notify_about_flags_after'"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "UPDATE site_settings SET name = 'notify_about_flags_after' WHERE name = 'notify_about_reviewable_item_after'"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user