2019-05-12 21:55:44 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-05-08 10:05:45 -04:00
|
|
|
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
|