mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 16:23:34 +08:00
This PR promotes the `reporting_improvements` upcoming change to the default for all admins and removes the flag.
16 lines
388 B
Ruby
Vendored
16 lines
388 B
Ruby
Vendored
# frozen_string_literal: true
|
|
class RemoveReportingImprovementsSetting < ActiveRecord::Migration[8.0]
|
|
def up
|
|
execute(<<~SQL)
|
|
DELETE FROM site_settings WHERE name = 'reporting_improvements'
|
|
SQL
|
|
|
|
execute(<<~SQL)
|
|
DELETE FROM site_setting_groups WHERE name = 'reporting_improvements'
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|