mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 20:35:52 +08:00
This site setting is a internal technical detail, so we've decided to remove the setting and inline it.
14 lines
281 B
Ruby
14 lines
281 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveFlushTimingsSecsSetting < ActiveRecord::Migration[7.2]
|
|
def up
|
|
execute <<~SQL
|
|
DELETE FROM site_settings
|
|
WHERE name = 'flush_timings_secs';
|
|
SQL
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|