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

You need to sign in or sign up before continuing.
Commit e9c654fa by sdepold

fixed broken Sequelize usage

1 parent 6374785c
Showing with 1 additions and 1 deletions
......@@ -68,7 +68,7 @@ module.exports = (function() {
var showTablesSql = self.QueryGenerator.showTablesQuery()
self.sequelize.query(showTablesSql, null, { raw: true }).success(function(tableNames) {
self.emit('showAllTables', null)
emitter.emit('success', Sequelize.Utils._.flatten(tableNames))
emitter.emit('success', Utils._.flatten(tableNames))
}).error(function(err) {
self.emit('showAllTables', err)
emitter.emit('failure', err)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!