@mikro-orm/cli 6.5.9-dev.6 → 6.5.9-dev.7
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.
|
@@ -209,7 +209,7 @@ class MigrationCommandFactory {
|
|
|
209
209
|
if (core_1.Utils.isString(options.to)) {
|
|
210
210
|
return msg + ' to version ' + options.to;
|
|
211
211
|
}
|
|
212
|
-
if (options.migrations
|
|
212
|
+
if (options.migrations?.length === 1) {
|
|
213
213
|
return msg + ' to version ' + options.migrations[0];
|
|
214
214
|
}
|
|
215
215
|
return msg;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/cli",
|
|
3
|
-
"version": "6.5.9-dev.
|
|
3
|
+
"version": "6.5.9-dev.7",
|
|
4
4
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@jercle/yargonaut": "1.1.5",
|
|
66
|
-
"@mikro-orm/core": "6.5.9-dev.
|
|
67
|
-
"@mikro-orm/knex": "6.5.9-dev.
|
|
66
|
+
"@mikro-orm/core": "6.5.9-dev.7",
|
|
67
|
+
"@mikro-orm/knex": "6.5.9-dev.7",
|
|
68
68
|
"fs-extra": "11.3.2",
|
|
69
69
|
"tsconfig-paths": "4.2.0",
|
|
70
70
|
"yargs": "17.7.2"
|