discourse/db/migrate/20260309032553_remove_enable_upcoming_changes_site_setting.rb
Martin Brennan a15f83133a
DEV: Remove enable_upcoming_changes global setting gate (#38360)
We've had this setting off by default in core but enabled
on our hosting for a while now, and the upcoming change
system is stable and ready for everyone. This commit removes
the hidden setting and just makes upcoming changes always on.
2026-03-10 10:08:20 +10:00

11 lines
269 B
Ruby

# frozen_string_literal: true
class RemoveEnableUpcomingChangesSiteSetting < ActiveRecord::Migration[8.0]
def up
execute "DELETE FROM site_settings WHERE name = 'enable_upcoming_changes'"
end
def down
raise ActiveRecord::IrreversibleMigration
end
end