mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 13:18:14 +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
|