Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dplewis committed Apr 29, 2021
1 parent e9d5235 commit 47ebd6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Adapters/Storage/Postgres/PostgresStorageAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1064,9 +1064,7 @@ export class PostgresStorageAdapter implements StorageAdapter {
);
const newColumns = Object.keys(schema.fields)
.filter(item => columns.indexOf(item) === -1)
.map(fieldName =>
self.addFieldIfNotExists(className, fieldName, schema.fields[fieldName], t)
);
.map(fieldName => self.addFieldIfNotExists(className, fieldName, schema.fields[fieldName]));

await t.batch(newColumns);
});
Expand Down

0 comments on commit 47ebd6b

Please sign in to comment.