protected isPrecisionType ( $type ) : boolean | ||
return | boolean | true if column type if "numeric", "interval" or begins with "time". |
protected function isPrecisionType($type)
{
$type = strtolower(trim($type));
return $type === 'numeric' || $type === 'interval' || strpos($type, 'time') === 0;
}