@mikro-orm/mssql 7.3.0-dev.7 → 7.3.0-dev.8

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.
@@ -760,7 +760,7 @@ export class MsSqlSchemaHelper extends SchemaHelper {
760
760
  }
761
761
  createIndex(index, table, createPrimary = false) {
762
762
  if (index.primary) {
763
- return '';
763
+ return createPrimary ? super.createIndex(index, table, true) : '';
764
764
  }
765
765
  if (index.expression) {
766
766
  return index.expression;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/mssql",
3
- "version": "7.3.0-dev.7",
3
+ "version": "7.3.0-dev.8",
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
  "keywords": [
6
6
  "data-mapper",
@@ -47,7 +47,7 @@
47
47
  "copy": "node ../../scripts/copy.mjs"
48
48
  },
49
49
  "dependencies": {
50
- "@mikro-orm/sql": "7.3.0-dev.7",
50
+ "@mikro-orm/sql": "7.3.0-dev.8",
51
51
  "kysely": "0.29.6",
52
52
  "tarn": "3.1.2",
53
53
  "tedious": "20.0.0",
@@ -57,7 +57,7 @@
57
57
  "@mikro-orm/core": "^7.2.2"
58
58
  },
59
59
  "peerDependencies": {
60
- "@mikro-orm/core": "7.3.0-dev.7"
60
+ "@mikro-orm/core": "7.3.0-dev.8"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">= 22.17.0"