-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
kind/featureA request for a new feature.A request for a new feature.topic: JsonScalar type `Json`Scalar type `Json`topic: sql serverMicrosoft SQL ServerMicrosoft SQL Server
Description
Problem
If you have the following Prisma Schema:
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlserver"
url = env("DATABASE_URL")
}
model Post {
id Int @id
myField Json
}You'll see the following message:
error: Error validating field `myField` in model `Post`: Field `myField` in model `Post` can't be of type Json. The current connector does not support the Json type.
Suggested solution
Support Json in MSSQL
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureA request for a new feature.A request for a new feature.topic: JsonScalar type `Json`Scalar type `Json`topic: sql serverMicrosoft SQL ServerMicrosoft SQL Server