Added maxlength to varchar fields