Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum and Json support landing in prisma@6.2. #119

Open
LazerJesus opened this issue Jan 7, 2025 · 0 comments
Open

Enum and Json support landing in prisma@6.2. #119

LazerJesus opened this issue Jan 7, 2025 · 0 comments

Comments

@LazerJesus
Copy link

Hey,
just a heads-up. Prisma will from 6.2. onwards support both JSON and Enum in sqlite.

https://github.com/prisma/prisma/milestone/143

Some tests are failing that no longer need to.

expect(() =>
generateFieldType("Json", {
databaseProvider: "sqlite",
fileName: "types.ts",
enumFileName: "types.ts",
camelCase: false,
readOnlyIds: false,
})
).toThrowError(new Error("Unsupported type Json for database sqlite"));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant