@prisma/orm-sqlite 8.0.0-rc.17-dev.31 → 8.0.0-rc.17-dev.32

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": "@prisma/orm-sqlite",
3
- "version": "8.0.0-rc.17-dev.31",
3
+ "version": "8.0.0-rc.17-dev.32",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -10,17 +10,17 @@
10
10
  "skills"
11
11
  ],
12
12
  "dependencies": {
13
- "@prisma/orm-family-sql": "8.0.0-rc.17-dev.31",
14
- "@prisma/orm-framework": "8.0.0-rc.17-dev.31",
15
- "@prisma/orm-target-sqlite": "8.0.0-rc.17-dev.31",
16
- "@prisma/orm-toolchain": "8.0.0-rc.17-dev.31",
13
+ "@prisma/orm-family-sql": "8.0.0-rc.17-dev.32",
14
+ "@prisma/orm-framework": "8.0.0-rc.17-dev.32",
15
+ "@prisma/orm-target-sqlite": "8.0.0-rc.17-dev.32",
16
+ "@prisma/orm-toolchain": "8.0.0-rc.17-dev.32",
17
17
  "pathe": "^2.0.3",
18
18
  "tinyglobby": "^0.2.17"
19
19
  },
20
20
  "devDependencies": {
21
- "@internal/sqlite": "8.0.0-rc.17-dev.31",
22
- "@repo/tsconfig": "8.0.0-rc.17-dev.31",
23
- "@repo/tsdown": "8.0.0-rc.17-dev.31",
21
+ "@internal/sqlite": "8.0.0-rc.17-dev.32",
22
+ "@repo/tsconfig": "8.0.0-rc.17-dev.32",
23
+ "@repo/tsdown": "8.0.0-rc.17-dev.32",
24
24
  "tsdown": "0.22.14",
25
25
  "typescript": "5.9.3"
26
26
  },
@@ -15,7 +15,7 @@ description: >-
15
15
  ORM 7 or earlier (schema.prisma + @prisma/client).
16
16
  metadata:
17
17
  library: '@prisma/orm-sqlite'
18
- library_version: '8.0.0-rc.17-dev.31'
18
+ library_version: '8.0.0-rc.17-dev.32'
19
19
  version: '2026-09-12'
20
20
  ---
21
21
 
@@ -260,6 +260,8 @@ model Feature {
260
260
  }
261
261
  ```
262
262
 
263
+ A variant's base can be in another namespace: write `@@base(ns.Model, "value")`. Such a variant must set `@@map(...)`, because a variant that shares its base's table has to be in the base's namespace.
264
+
263
265
  Verify the polymorphism syntax against the interpreter tests if in doubt: `packages/2-sql/2-authoring/contract-psl/test/interpreter.polymorphism.test.ts`.
264
266
 
265
267
  Mongo PSL takes the same `@@discriminator(field)` / `@@base(Base, "value")` attributes (the Mongo interpreter implements both; `examples/mongo-demo/src/contract.prisma` declares `Post` with `@@discriminator(kind)` and `Article` / `Tutorial` variants via `@@base(Post, "article")`). Variants share the base's collection — there is no `@@map` on a Mongo variant, since there is no second table to join. The TS builder's `discriminator` option on the model is the programmatic equivalent.