lib/dm-migrations/adapters/dm-mysql-adapter.rb
# Return the integer column type
#
# Use the smallest available column type that will satisfy the
# allowable range of numbers
#
# @param [Range] range
#   the min/max allowed integers
#
# @return [String]
#   the column type
#
# @api private
Return the integer column type
Use the smallest available column type that will satisfy the
allowable range of numbers
Return the integer column type Use the smallest available column type that will satisfy the allowable range of numbers
def integer_column_type(range)
          if range.first < 0
            signed_integer_column_type(range)
          else
            unsigned_integer_column_type(range)
          end
        end
def integer_column_type ( range ) if range . first < 0 signed_integer_column_type ( range ) else unsigned_integer_column_type ( range ) end end
Return the integer column type
Use the smallest available column type that will satisfy the
allowable range of numbers
Return the integer column type Use the smallest available column type that will satisfy the allowable range of numbers
the column type
the column type
String
range
<not_specific>
<not_specific>
range the min/max allowed integers
range the min / max allowed integers
api
None