BUGFIX check if a $db's datatype has parameters eg. Varchar(255)

Was breaking with fields that have Varchar(255) etc