不要怂,就是干,撸起袖子干!

Commit 0eeefd2a by Pete Mertz

With dialecets in postgres, removeColumn currently fails. This fixes it.

1 parent 4b379702
Showing with 1 additions and 1 deletions
......@@ -222,7 +222,7 @@ module.exports = (function() {
removeColumnQuery: function(tableName, attributeName) {
var query = 'ALTER TABLE <%= tableName %> DROP COLUMN <%= attributeName %>;';
return Utils._.template(query)({
tableName: this.quoteIdentifiers(tableName),
tableName: this.quoteTable(tableName),
attributeName: this.quoteIdentifier(attributeName)
});
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!