lib/dm-migrations/adapters/dm-mysql-adapter.rb
# Filter out any indexes with an unindexable column in MySQL
#
# @api private
Filter out any indexes with an unindexable column in MySQL
Filter out any indexes with an unindexable column in MySQL
def filter_indexes(model, indexes)
          field_map = model.properties(name).field_map
          indexes.select do |index_name, fields|
            fields.all? { |field| !field_map[field].kind_of?(Property::Text) }
          end
        end
def filter_indexes ( model , indexes ) field_map = model . properties ( name ) . field_map indexes . select do | index_name , fields | fields . all? { | field | ! field_map [ field ] . kind_of? ( Property :: Text ) } end end
Filter out any indexes with an unindexable column in MySQL
Filter out any indexes with an unindexable column in MySQL
model
<not_specific>
indexes
<not_specific>
api
None