mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 08:09:33 +08:00
d0c2eb3359
Scheduled to drop in 2.9. Co-authored-by: Loïc Guitaut <loic@discourse.org>
13 lines
329 B
Ruby
13 lines
329 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemovePollingSiteSettings < ActiveRecord::Migration[6.1]
|
|
def up
|
|
execute "DELETE FROM site_settings WHERE name = 'enable_long_polling'"
|
|
execute "DELETE FROM site_settings WHERE name = 'long_polling_interval'"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|