discourse/db/migrate/20220323141645_remove_polling_site_settings.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
329 B
Ruby
Raw Normal View History

# 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