mysql-migration 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -39,6 +39,6 @@ program
39
39
  program
40
40
  .command('batch <dbName>')
41
41
  .description('Get the batched migrations')
42
- .action(() => require('./src/commands/batch'));
42
+ .action((dbName) => require('./src/commands/batch')(dbName));
43
43
  //---------------------------------------
44
44
  program.parse(process.argv);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql-migration",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Migration for mysql database",
5
5
  "main": "index.js",
6
6
  "bin": {