We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c1fe5 commit af4961aCopy full SHA for af4961a
lib/migration.js
@@ -223,23 +223,6 @@ function mixinMigration(PostgreSQL) {
223
}
224
};
225
226
- PostgreSQL.prototype.applySqlChanges = function(model, pendingChanges, cb) {
227
- var self = this;
228
- if (pendingChanges.length) {
229
- var thisQuery = 'ALTER TABLE ' + self.tableEscaped(model);
230
- var ranOnce = false;
231
- pendingChanges.forEach(function(change) {
232
- if (ranOnce) {
233
- thisQuery = thisQuery + ' ';
234
- }
235
- thisQuery = thisQuery + ' ' + change;
236
- ranOnce = true;
237
- });
238
- // thisQuery = thisQuery + ';';
239
- self.execute(thisQuery, cb);
240
241
- };
242
-
243
/*!
244
* Build a list of columns for the given model
245
* @param {String} model The model name
0 commit comments