mirror of
https://github.com/discourse/discourse.git
synced 2025-10-03 17:21:20 +08:00
13 lines
286 B
Ruby
13 lines
286 B
Ruby
# frozen_string_literal: true
|
|
class RemoveGlimmerPostMenuModeSetting < ActiveRecord::Migration[7.2]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM site_settings
|
|
WHERE name = 'glimmer_post_menu_mode'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|