Skip to content

Commit

Permalink
added char, date and smallint into mapDataType in base.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrício Ferrari de Campos committed Feb 13, 2014
1 parent 6a6260c commit dba8326
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/driver/base.js
Expand Up @@ -40,6 +40,12 @@ module.exports = Base = Class.extend({
return 'BOOLEAN'; return 'BOOLEAN';
case type.DECIMAL: case type.DECIMAL:
return 'DECIMAL'; return 'DECIMAL';
case type.CHAR:
return 'CHAR';
case type.DATE:
return 'DATE';
case type.SMALLINT:
return 'SMALLINT';
default: default:
var unknownType = str.toUpperCase(); var unknownType = str.toUpperCase();
log.warn('Using unknown data type', unknownType); log.warn('Using unknown data type', unknownType);
Expand Down

0 comments on commit dba8326

Please sign in to comment.