instance method
remove_index
Ruby on Rails 6.0.6
Signature
remove_index(options = {})
Removes the given index from the table.
t.remove_index(:branch_id)
t.remove_index(column: [:branch_id, :party_id])
t.remove_index(name: :by_branch_party)
See connection.remove_index
Parameters
-
optionsopt = {}
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb, line 640
def remove_index(options = {})
@base.remove_index(name, options)
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb line 640
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::Table