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

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

Merge branch 'master' of github.com:sdepold/sequelize

2 parents 6d4679a2 11b656c1
Showing with 1 additions and 1 deletions
......@@ -76,7 +76,7 @@ if(program.migrate) {
options = _.extend(options, { logging: false })
var sequelize = new Sequelize(config.database, config.username, config.password, options)
, migratorOptions = { path: __dirname + '/../migrations' }
, migratorOptions = { path: migrationsPath }
, migrator = sequelize.getMigrator(migratorOptions)
if(program.undo) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!