Skip to content

Unable to set a default value for the Json field type #416

@dariuspranskus

Description

@dariuspranskus

Hi

I am unable to set a default value to a JSON type field.

It gives the syntax highlighting error in VS Code and also produces errors while generating.

It works fine in Prisma though.

Screenshots
image
image

Environment (please complete the following information):

  • ZenStack version: [e.g., 1.0.0-alpha.116]
  • Prisma version: [e.g., 4.14.0]
  • Database type: [e.g. Postgresql]

Is this a bug or there is another way how to escape the double quotes

Thanks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions