method

remove_index_for_alter

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
remove_index_for_alter(table_name, column_name = nil, **options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb, line 851
        def remove_index_for_alter(table_name, column_name = nil, **options)
          index_name = index_name_for_remove(table_name, column_name, options)
          "DROP INDEX #{quote_column_name(index_name)}"
        end
Register or log in to add new notes.