You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
Following schema.prisma contains roles an enum attribute as array.
datasource db {
provider = "sqlite"
url = "file:../db/data.db"
}
generator photonjs {
provider = "photonjs"
}
model User {
id Int @id
email String @unique
roles Role[]
}
enum Role {
ADMIN
USER
}
prisma2 version:
prisma2@2.0.0-preview-1, binary version: 30a33bde5b1d9f79e0a48491749528da76002e24
Following
schema.prisma
containsroles
an enum attribute as array.Seed file:
The following error occurs when executing
ts-node prisma/seed.ts
:The text was updated successfully, but these errors were encountered: