Ahoy! I'm getting this error when I try to add a `...
# prisma-whats-new
d
Ahoy! I'm getting this error when I try to add a
JSON
field to the schema:
Copy code
Errors
json: The field `json` has the type `JSON` but there's no type or enum declaration with that name.
json: The relation field `json` must specify a `@relation` directive: `@relation(name: "MyRelation")`
a
The Type name is
Json
, not
JSON
d
Thanks @agartha
😎 1