0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 20:29:55 +08:00
discourse/db/migrate/20240815234500_remove_glimmer_header_mode_setting.rb
2024-09-04 14:50:53 -03:00

14 lines
283 B
Ruby
Vendored

# 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