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

Commit cb42f0d8 by sdepold

minor refactoring

1 parent 370c22d7
......@@ -2,8 +2,6 @@ var Utils = require("../../utils")
module.exports = (function() {
var Query = function(database, callee, options) {
var self = this
this.database = database
this.callee = callee
this.options = Utils._.extend({
......
......@@ -37,7 +37,7 @@ module.exports = (function() {
self.showAllTables().success(function(tableNames) {
tableNames.forEach(function(tableName) {
chainer.add(self.sequelize.getQueryInterface().dropTable(tableName))
chainer.add(self.dropTable(tableName))
})
chainer
.run()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!