Skip to content

Commit c653070

Browse files
committed
Extract getDropColumns into base connector
1 parent b647dd7 commit c653070

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/migration.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,6 @@ function mixinMigration(PostgreSQL) {
112112
return sql;
113113
};
114114

115-
PostgreSQL.prototype.getDropColumns = function(model, actualFields) {
116-
var sql = [];
117-
var self = this;
118-
sql = sql.concat(self.getColumnsToDrop(model, actualFields));
119-
return sql;
120-
};
121-
122115
PostgreSQL.prototype.getColumnsToAdd = function(model, actualFields) {
123116
var self = this;
124117
var m = self._models[model];

0 commit comments

Comments
 (0)