@mikro-orm/knex 6.2.9-dev.18 → 6.2.9-dev.19
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "6.2.9-dev.
|
|
3
|
+
"version": "6.2.9-dev.19",
|
|
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",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"@mikro-orm/core": "^6.2.8"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.2.9-dev.
|
|
69
|
+
"@mikro-orm/core": "6.2.9-dev.19"
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -90,11 +90,11 @@ class SqlSchemaGenerator extends core_1.AbstractSchemaGenerator {
|
|
|
90
90
|
await this.execute(sql);
|
|
91
91
|
}
|
|
92
92
|
async createNamespace(name) {
|
|
93
|
-
const sql =
|
|
93
|
+
const sql = this.helper.getCreateNamespaceSQL(name);
|
|
94
94
|
await this.execute(sql);
|
|
95
95
|
}
|
|
96
96
|
async dropNamespace(name) {
|
|
97
|
-
const sql =
|
|
97
|
+
const sql = this.helper.getDropNamespaceSQL(name);
|
|
98
98
|
await this.execute(sql);
|
|
99
99
|
}
|
|
100
100
|
async clearDatabase(options) {
|
|
@@ -369,7 +369,7 @@ class SqlSchemaGenerator extends core_1.AbstractSchemaGenerator {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
for (const { column, changedProperties
|
|
372
|
+
for (const { column, changedProperties } of Object.values(diff.changedColumns)) {
|
|
373
373
|
if (changedProperties.size === 1 && changedProperties.has('comment')) {
|
|
374
374
|
continue;
|
|
375
375
|
}
|