Skip to content

Commit

Permalink
Fix reversed args to migrator.run() in programmatic usage README
Browse files Browse the repository at this point in the history
  • Loading branch information
miangraham committed Mar 25, 2017
1 parent 2d48bfa commit b9098ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/programmatic-usage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ migrator.create(migrationName).then(()=> {
});

// Migrate Up
promise = migrator.run(migrationName, 'up');
promise = migrator.run('up', migrationName);

// Migrate Down
promise = migrator.run(migrationName, 'down');
promise = migrator.run('down', migrationName);

// List Migrations
/*
Expand Down

0 comments on commit b9098ef

Please sign in to comment.