mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 00:20:04 +08:00
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.
11 lines
269 B
Ruby
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
|