mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
12 lines
278 B
Ruby
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
|