mohammed-bahumaish / prisma-editor

Prisma Editor - A powerful tool to visualize and edit Prisma Schema.

Home Page:https://prisma-editor.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error parsing attribute "@default"

atanaskanchev opened this issue · comments

Error parsing attribute "@default" for array fields. Manually changing it to role Role[] @default([ADMIN]) fixes the issue, but after another change it gets defaulted back to role Role[] @default(ADMIN)

image

@atanaskanchev I've added a fix. can you confirm that it's working as expected now.

Fixed, thank you!