mysql-migration 1.1.0 → 1.1.1

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 (3) hide show
  1. package/README.md +1 -5
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -41,7 +41,7 @@ The configuration file `mysql-migration.config.json` should export an object wit
41
41
  ### Create a new migration
42
42
 
43
43
  To create a new migration, run the following command:\
44
-  `npx mysql-migration migration-name database-name`
44
+  `npx mysql-migration create migration-name database-name`
45
45
 
46
46
  This will create a new migration file in the `migrations` directory with a timestamp and the name `migration-name`.
47
47
 
@@ -59,8 +59,4 @@ To roll back the last migration, run the following command:\
59
59
 
60
60
  This will roll back migrations to the given batch number.
61
61
 
62
- <br>
63
-
64
62
  > **Copyright (c) 2023-present [𝐒𝐡𝐞𝐫𝐊𝐚𝐧](https://github.com/SherKan-n). All Rights Reserved.**
65
-
66
- <br>
package/index.js CHANGED
@@ -13,7 +13,7 @@ program
13
13
  //---------------------------------------
14
14
  program
15
15
  .command('rollback <dbName> <batch>')
16
- .description('Run migration backward')
16
+ .description('Rollback migration')
17
17
  .action((dbName, batch) => require('./src/commands/back')(dbName, batch));
18
18
  //---------------------------------------
19
19
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mysql-migration",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Migration for mysql database",
5
5
  "main": "index.js",
6
6
  "bin": {