Permalink
Browse files

added char, date and smallint into mapDataType in base.js

  • Loading branch information...
1 parent 6a6260c commit dba8326e7d9406d839108246f9aab0b7fd87c704 @FabricioFFC FabricioFFC committed Feb 13, 2014
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/driver/base.js
View
@@ -40,6 +40,12 @@ module.exports = Base = Class.extend({
return 'BOOLEAN';
case type.DECIMAL:
return 'DECIMAL';
+ case type.CHAR:
+ return 'CHAR';
+ case type.DATE:
+ return 'DATE';
+ case type.SMALLINT:
+ return 'SMALLINT';
default:
var unknownType = str.toUpperCase();
log.warn('Using unknown data type', unknownType);

0 comments on commit dba8326

Please sign in to comment.