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

Commit 284a7856 by sdepold

added parameters to query interface method

1 parent 42ed19cc
Showing with 1 additions and 1 deletions
......@@ -152,7 +152,7 @@ module.exports = (function() {
return queryAndEmit.call(this, sql, 'addIndex')
}
QueryInterface.prototype.showIndex = function() {
QueryInterface.prototype.showIndex = function(tableName, options) {
var sql = this.QueryGenerator.showIndexQuery(tableName, options)
return queryAndEmit.call(this, sql, 'showIndex')
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!