method

add_index_length

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: SchemaStatements
add_index_length(quoted_columns, **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/mysql/schema_statements.rb, line 109
          def add_index_length(quoted_columns, **options)
            lengths = options_for_index_columns(options[:length])
            quoted_columns.each do |name, column|
              column << "(#{lengths[name]})" if lengths[name].present?
            end
          end
Register or log in to add new notes.