Skip to content

Commit 5a2c157

Browse files
committed
Extract searchForPropertyInActual to base
1 parent 3ad6cf2 commit 5a2c157

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/migration.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,6 @@ function mixinMigration(PostgreSQL) {
131131
return sql;
132132
};
133133

134-
PostgreSQL.prototype.searchForPropertyInActual = function(model, propName, actualFields) {
135-
var self = this;
136-
var found = false;
137-
actualFields.forEach(function(f) {
138-
if (f.column === self.column(model, propName)) {
139-
found = f;
140-
return;
141-
}
142-
});
143-
return found;
144-
};
145-
146134
PostgreSQL.prototype.getPropertiesToModify = function(model, actualFields) {
147135
var self = this;
148136
var sql = [];

0 commit comments

Comments
 (0)