Skip to content
This repository
Browse code

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

  • Loading branch information...
commit b481e4c096a5e56a182e1273a3a8f78daff79665 2 parents e938a81 + 71c6651
Anatoliy Chakkaev authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/adapters/postgres.js
2  lib/adapters/postgres.js
@@ -354,7 +354,7 @@ function getColumnsToAdd(model, actualFields){
354 354 function addPropertyToActual(model, propName){
355 355 var self = this;
356 356 var p = self._models[model].properties[propName];
357   - sqlCommand = 'ADD COLUMN "' + propName + '" ' + datatype(p) + " " + (propertyCanBeNull.call(self, model, propName) ? "" : " NOT NULL");
  357 + var sqlCommand = 'ADD COLUMN "' + propName + '" ' + datatype(p) + " " + (propertyCanBeNull.call(self, model, propName) ? "" : " NOT NULL");
358 358 return sqlCommand;
359 359 };
360 360

0 comments on commit b481e4c

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