lib/utils/helpers.js
function getType(type, len, name) {

                if(!type) return undefined;
                type = type.split('(')[0];

                if(map[type]){
                    var tmp = map[type];
                    if(len && !_.contains([255, 11], len)) len = '(' + len + ')';
                    else len = '';
                    type = tmp.replace('[LEN]', len);
                }

                return type;
            }
function getType(type, len, name) {

                if(!type) return undefined;
                type = type.split('(')[0];

                if(map[type]){
                    var tmp = map[type];
                    if(len && !_.contains([255, 11], len)) len = '(' + len + ')';
                    else len = '';
                    type = tmp.replace('[LEN]', len);
                }

                return type;
            }
function getType ( type , len , name ) { if ( ! type ) return undefined ; type = type . split ( '(' ) [ 0 ] ; if ( map [ type ] ) { var tmp = map [ type ] ; if ( len && ! _ . contains ( [ 255 , 11 ] , len ) ) len = '(' + len + ')' ; else len = '' ; type = tmp . replace ( '[LEN]' , len ) ; } return type ; }
convert and format to Sequelize Model Type.
convert and format to Sequelize Model Type .