discourse/db/migrate/20230419001801_remove_enabl...

12 lines
278 B
Ruby

# frozen_string_literal: true
class RemoveEnableCustomSidebarSectionsSetting < ActiveRecord::Migration[7.0]
def up
execute "DELETE FROM site_settings WHERE name = 'enable_custom_sidebar_sections'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end