Refactoring column type and max column length detections

... in a more Laravel way.