discourse/db/migrate/20241211030039_remove_glimmer_post_menu_groups_setting.rb
Sérgio Saquetim c3e7d97048
DEV: Switch the glimmer post menu to auto and unsilence deprecations (#30161)
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
2024-12-12 18:27:02 -03:00

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