Skip to content

Commit

Permalink
Merge pull request #19 from zishone/dev
Browse files Browse the repository at this point in the history
mongover@1.3.1
  • Loading branch information
zishone committed Apr 16, 2020
2 parents 332b4b5 + e721569 commit fc8af22
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $ mongover <command> [<args>] [<options>]
-q or --query specifies a filter which data to be exported from the MongoDB Server.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
* **apply**: applies the current Mongover Specification to the MongoDB Server.
Expand Down Expand Up @@ -113,7 +113,7 @@ $ mongover <command> [<args>] [<options>]
-m or --migrateForce specifies if mongover should migrate the database even if the specified version is the same.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
* **help**: outputs Mongover usage.
Expand Down Expand Up @@ -143,7 +143,7 @@ $ mongover <command> [<args>] [<options>]
{
"seedOnly": false, // Specifies if existing database should be migrated or only seeded.
"migrateForce": false, // Specifies if mongover should migrate the database even if the specified version is the same.
"info": "_info", // Specifies the collection name of the database information such as it's version. Defaults to '_info'.
"info": "_info", // Specifies the collection name of the database information such as it's version. Defaults to '_info'.
"dropFirst": false, // Specifies if existing database should be dropped before specification is applied.
"alias": "dbName", // Alias/Name the database specification will be deployed as.
"version": "1.0.0", // Specifies the version of the database, this will determine if the database needs to be migrated or not.
Expand Down Expand Up @@ -194,7 +194,7 @@ $ mongover <command> [<args>] [<options>]
{
"seedOnly": false, // Specifies if existing database should be migrated or only seeded.
"migrateForce": false, // Specifies if mongover should migrate the database even if the specified version is the same.
"info": "_info", // Specifies the collection name of the database information such as it's version. Defaults to '_info'.
"info": "_info", // Specifies the collection name of the database information such as it's version. Defaults to '_info'.
"dropFirst": false, // Specifies if existing database should be dropped before specification is applied.
"alias": "dbName", // Alias/Name the database specification will be deployed as.
"version": "1.0.0", // Specifies the version of the database, this will determine if the database needs to be migrated or not.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongover",
"version": "1.3.0",
"version": "1.3.1",
"description": "A MongoDB Server Database Migration Tool",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Usage:
-f or --format specifies Mongover Specification format, choose between 'dir' and 'json'. Defaults to 'dir'.
-e or --export specifies if data from the MongoDB Server should also be exported, choose between 'jsonl', 'json' and 'no'. Defaults to 'no'.
-q or --query specifies a filter which data to be exported from the MongoDB Server.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
apply [<specPath>] [<options>]
- applies the current Mongover Specification to the MongoDB Server.
Expand All @@ -43,7 +43,7 @@ Usage:
-c or --collections specifies which collections to apply. Defaults to all collections in specified databases.
-s or --seedOnly specifies if mongover should only seed the database instead of migrating it when it already exists.
-m or --migrateForce specifies if mongover should migrate the database even if the specified version is the same.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
-i or --info specifies the collection name of the database information such as it's version. Defaults to '_info'.
`.trim();

export const mongoverOptionsDefaults: MongoverOptions = {
Expand Down

0 comments on commit fc8af22

Please sign in to comment.