@mikro-orm/knex 6.2.9-dev.6 → 6.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "6.2.9-dev.6",
3
+ "version": "6.2.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",
@@ -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.6"
69
+ "@mikro-orm/core": "6.2.9-dev.7"
70
70
  }
71
71
  }
@@ -305,8 +305,8 @@ class SchemaComparator {
305
305
  continue;
306
306
  }
307
307
  const [removedColumn, addedColumn] = candidateColumns[0];
308
- const removedColumnName = removedColumn.name.toLowerCase();
309
- const addedColumnName = addedColumn.name.toLowerCase();
308
+ const removedColumnName = removedColumn.name;
309
+ const addedColumnName = addedColumn.name;
310
310
  /* istanbul ignore if */
311
311
  if (tableDifferences.renamedColumns[removedColumnName]) {
312
312
  continue;
@@ -340,8 +340,8 @@ class SchemaComparator {
340
340
  continue;
341
341
  }
342
342
  const [removedIndex, addedIndex] = candidateIndexes[0];
343
- const removedIndexName = removedIndex.keyName.toLowerCase();
344
- const addedIndexName = addedIndex.keyName.toLowerCase();
343
+ const removedIndexName = removedIndex.keyName;
344
+ const addedIndexName = addedIndex.keyName;
345
345
  if (tableDifferences.renamedIndexes[removedIndexName]) {
346
346
  continue;
347
347
  }