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:
Krzysztof Kotlarek
2023-05-02 08:08:22 +10:00
committed by GitHub
parent 86385bc9cf
commit a8e28060d1
31 changed files with 25 additions and 37 deletions

View File

@ -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