Reason: [src/libcore/result.rs:1188:5] called Result::unwrap() on an Err value: Could not render the variants of enum User_status


npx prisma2 migrate save --experimental
Migrate the current schema
model User {
id String @default(uuid()) @id
personId Int @map("person_id")
userTypeId Int @map("user_type_id")
email String @unique
avatar String
status UserStatus
createdAt DateTime @default(now()) @map("created_at")
updatedAt DateTime @default(now()) @map("updated_at")
@@map("users")
}
enum UserStatus {
CONFIRMED
CANCELED
BLOCKED
}
MYSQL
Prisma 2.0.0-beta.1
Thanks for reporting this bug! It should be fixed by https://github.com/prisma/prisma-engines/pull/668
The PR is merged and the fix will land in the next alpha release and in beta 3
Closing due to inactivity, please comment here if you are still facing this 馃槂
Most helpful comment
The PR is merged and the fix will land in the next alpha release and in beta 3