Sha256: a0fdda80d5baccaca84541b50dd64e633483c15b0fd983adcfd7e0cbf2de6e13
Contents?: true
Size: 382 Bytes
Versions: 4
Compression:
Stored size: 382 Bytes
Contents
# frozen_string_literal: true module Armg module AbstractMysqlAdapterExt def initialize_type_map(m = type_map) super m.register_type(/^geometry/i, Armg::MysqlGeometry.new) end def indexes(*args, &block) is = super is.each do |i| i.lengths = nil if i.type == :spatial && i.respond_to?(:lengths=) end is end end end
Version data entries
4 entries across 4 versions & 1 rubygems