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

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) { ...@@ -76,7 +76,7 @@ if(program.migrate) {
options = _.extend(options, { logging: false }) options = _.extend(options, { logging: false })
var sequelize = new Sequelize(config.database, config.username, config.password, options) var sequelize = new Sequelize(config.database, config.username, config.password, options)
, migratorOptions = { path: __dirname + '/../migrations' } , migratorOptions = { path: migrationsPath }
, migrator = sequelize.getMigrator(migratorOptions) , migrator = sequelize.getMigrator(migratorOptions)
if(program.undo) { if(program.undo) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!