mirror of
https://github.com/discourse/discourse.git
synced 2025-10-04 17:32:34 +08:00
We've had the new floatkit-based autocomplete live in various parts of Discourse for about a month now, and it's stable enough for us to remove the site setting letting admins revert to the jquery-based autocomplete library which is now deprecated.
11 lines
357 B
Ruby
11 lines
357 B
Ruby
# frozen_string_literal: true
|
|
#
|
|
class RemoveFloatkitAutocompleteSiteSettings < ActiveRecord::Migration[8.0]
|
|
def up
|
|
execute "DELETE FROM site_settings WHERE name IN ('floatkit_autocomplete_composer', 'floatkit_autocomplete_input_fields', 'floatkit_autocomplete_chat_composer')"
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|