Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #8 from kishorenc/master

Migrate command broken
  • Loading branch information...
commit cb34694bb48eb939cad8a111a1a34ed5fd65c4e7 2 parents cec4db8 + e6a62ae
TJ Holowaychuk authored
Showing with 7 additions and 7 deletions.
  1. +5 −5 Readme.md
  2. +2 −2 bin/migrate
10 Readme.md
View
@@ -102,11 +102,11 @@ You can also run migrations incrementally by specifying a migration.
migration : complete
This will run up-migrations upto (and including) `002-coolest-pet.js`. Similarly you can run down-migrations upto (and including) a specific migration, instead of migrating all the way down.
-
- $ migrate down 001-add-jane.js
- down : migrations/002-add-owners.js
- down : migrations/001-add-jane.js
- migration : complete
+
+ $ migrate down 001-add-jane.js
+ down : migrations/002-add-owners.js
+ down : migrations/001-add-jane.js
+ migration : complete
## License
4 bin/migrate
View
@@ -225,8 +225,8 @@ function performMigration(direction, migrationName) {
});
var migrationPath = migrationName
- ? migrationName
- : join('migrations', migrationName);
+ ? join('migrations', migrationName)
+ : migrationName;
set[direction](null, migrationPath);
}
Please sign in to comment.
Something went wrong with that request. Please try again.