mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00: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
|