discourse/db/migrate/20240815234500_remove_glimmer_header_mode_setting.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
283 B
Ruby
Raw Normal View History

# 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