mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 22:53:56 +08:00
7c3ad27de6
Remove the header widget code. More info can be found in https://meta.discourse.org/t/upcoming-header-changes-preparing-themes-and-plugins/296544
15 lines
283 B
Ruby
15 lines
283 B
Ruby
# frozen_string_literal: true
|
|
#
|
|
class RemoveGlimmerHeaderModeSetting < ActiveRecord::Migration[7.1]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM site_settings
|
|
WHERE name = 'glimmer_header_mode'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|