protected function isPrecisionType($type) { $type = strtolower(trim($type)); return $type === 'numeric' || $type === 'interval' || strpos($type, 'time') === 0; }