Commit 90e7292
chore(prisma-example): upgrade the example app to Prisma Next 0.14
- deps: every @prisma-next/* pinned at 0.14.0
- prisma-next.config.ts: prismaContract takes the target PACK ref
(@prisma-next/target-postgres/pack, carrying defaultNamespaceId)
instead of the control descriptor
- contract re-emitted in the 0.14 shape (public namespace, entries
envelope, domain plane); migrations regenerated from scratch —
fresh app initial migration + the cipherstash extension space
re-materialised from the upgraded workspace package (head
sha256:1e86a016…)
- ORM/builder access namespace-qualified: db.orm.public.User,
db.sql.public.users (src/index.ts + every e2e suite)
- the CLI renamed 'migration apply' to 'migrate': package.json script,
e2e global-setup, and READMEs updated (--yes for non-interactive
runs)
- e2e walkthrough test (e2e/tests/prisma-example-readme.e2e.test.ts):
snapshot/restore examples/prisma/.env instead of deleting it in
teardown — the old teardown destroyed a developer's real
credentials file
Full example e2e suite green against the docker harness: 36 passed,
1 skipped (known jsonbPathExists limitation).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 35a49b0 commit 90e7292
30 files changed
Lines changed: 1565 additions & 2252 deletions
File tree
- e2e/tests
- examples/prisma
- migrations
- app
- 20260513T1735_initial
- 20260709T1034_initial
- cipherstash
- 20260601T0000_install_eql_bundle
- refs
- src
- prisma
- test/e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
173 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
174 | 182 | | |
175 | | - | |
176 | | - | |
177 | 183 | | |
178 | 184 | | |
179 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments