Skip to content
Browse files

Merge branch 'master' of github.com:1602/jugglingdb

  • Loading branch information...
2 parents e938a81 + 71c6651 commit b481e4c096a5e56a182e1273a3a8f78daff79665 @1602 committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/postgres.js
View
2 lib/adapters/postgres.js
@@ -354,7 +354,7 @@ function getColumnsToAdd(model, actualFields){
function addPropertyToActual(model, propName){
var self = this;
var p = self._models[model].properties[propName];
- sqlCommand = 'ADD COLUMN "' + propName + '" ' + datatype(p) + " " + (propertyCanBeNull.call(self, model, propName) ? "" : " NOT NULL");
+ var sqlCommand = 'ADD COLUMN "' + propName + '" ' + datatype(p) + " " + (propertyCanBeNull.call(self, model, propName) ? "" : " NOT NULL");
return sqlCommand;
};

0 comments on commit b481e4c

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