diff --git a/lib/migration.js b/lib/migration.js index 46c0e3f3..d682a8af 100644 --- a/lib/migration.js +++ b/lib/migration.js @@ -157,7 +157,7 @@ function mixinMigration(PostgreSQL) { propNames.forEach(function(propName) { if (self.id(model, propName)) return; const found = self.searchForPropertyInActual( - model, self.column(model, propName), actualFields + model, self.column(model, propName), actualFields, ); if (!found && self.propertyHasNotBeenDeleted(model, propName)) { sql.push('ADD COLUMN ' + self.addPropertyToActual(model, propName)); diff --git a/test/postgresql.migration.test.js b/test/postgresql.migration.test.js index 94f58850..4c432cd1 100644 --- a/test/postgresql.migration.test.js +++ b/test/postgresql.migration.test.js @@ -150,7 +150,7 @@ function getIndexes(model, cb) { }); } cb(err, indexes); - } + }, ); } diff --git a/test/postgresql.test.js b/test/postgresql.test.js index 0120ad40..83c80b28 100644 --- a/test/postgresql.test.js +++ b/test/postgresql.test.js @@ -153,7 +153,7 @@ describe('postgresql connector', function() { p.created.getTime().should.be.eql(created.getTime()); done(); }); - } + }, ); }); @@ -169,7 +169,7 @@ describe('postgresql connector', function() { results.should.have.property('affectedRows', 1); done(err); }); - } + }, ); }); @@ -186,7 +186,7 @@ describe('postgresql connector', function() { results.rows[0].id.should.eql(post.id); done(err); }); - } + }, ); }); @@ -212,7 +212,7 @@ describe('postgresql connector', function() { p.should.have.property('approved', false); done(); }); - } + }, ); }); diff --git a/test/postgresql.timestamp.test.js b/test/postgresql.timestamp.test.js index 7d7ca379..0fd2123e 100644 --- a/test/postgresql.timestamp.test.js +++ b/test/postgresql.timestamp.test.js @@ -56,7 +56,7 @@ describe('Timestamps', function() { should.not.exist(err); should.exist(p); done(); - } + }, ); });