mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 17:18:19 +08:00
10 lines
325 B
Ruby
10 lines
325 B
Ruby
|
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
|