mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 07:03:37 +08:00
This commit starts the rollout of the Glimmer post menu: - default to `auto`: after the upgrade, it will be enabled on all discourse instances that do not have incompatible customizations - unsilence the deprecation messages in the console - removes the setting `glimmer_post_menu_groups` as it's no longer in the test phase
13 lines
290 B
Ruby
13 lines
290 B
Ruby
# frozen_string_literal: true
|
|
class RemoveGlimmerPostMenuGroupsSetting < ActiveRecord::Migration[7.2]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM site_settings
|
|
WHERE name = 'glimmer_post_menu_groups'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|