mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Rename flags_default_topics to reviewable_default_topics
This functionality regressed with the reviewable update. I took the opporunity to rename it when fixing it for clarity.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class RenameSiteSettingDefaultTopics < ActiveRecord::Migration[5.2]
|
||||
def up
|
||||
execute "UPDATE site_settings SET name = 'reviewable_default_topics' WHERE name = 'flags_default_topics'"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "UPDATE site_settings SET name = 'flags_default_topics' WHERE name = 'reviewable_default_topics'"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user