You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-3.x/migrate-v2.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ sidebar_position: 11
4
4
---
5
5
6
6
import PackageInstall from './_components/PackageInstall';
7
+
import PackageUninstall from './_components/PackageUninstall';
7
8
8
9
# Migrating From ZenStack V2
9
10
@@ -40,6 +41,18 @@ Here are a few essential items to verify before preparing your migration:
40
41
41
42
Since ZenStack v3 is no longer based on Prisma ORM, the first step is to replace Prisma dependencies with ZenStack and update the code where `PrismaClient` is created. Please follow the [Prisma Migration Guide](./migrate-prisma.md) for detailed instructions.
42
43
44
+
## Migrating ZenStack Packages
45
+
46
+
As you have seen in the [Prisma Migration Guide](./migrate-prisma.md), all v3 packages are published under the "@next" tag for now. Two most important packages have been renamed:
47
+
48
+
-`zenstack`: the CLI package is now named `@zenstackhq/cli`
49
+
-`@zenstackhq/runtime`: the ORM runtime package is now named `@zenstackhq/orm`
0 commit comments