Skip to content
Browse files

Fix string type for PostgreSQL.

  • Loading branch information...
1 parent 9b34373 commit 973737883f6fd73126581ca70df6516c671f74d6 @mhuggins mhuggins committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/driver/pg.js
View
2 lib/driver/pg.js
@@ -24,6 +24,8 @@ var PgDriver = Base.extend({
},
mapDataType: function(str) {
switch(str) {
+ case type.STRING:
+ return 'VARCHAR';
case type.DATE_TIME:
return 'TIMESTAMP';
case type.BLOG:

0 comments on commit 9737378

Please sign in to comment.
Something went wrong with that request. Please try again.