Error: Error in migration engine. Reason: [libs\datamodel\core\src\transform\attributes\unique_and_index.rs:149:46] called Result::unwrap()
on an Err
value: TypeMismatchError { expected_type: "constant literal", received_type: "string", raw: "tenantId", span: Span { start: 6221, end: 6231 } }
#5985
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines/datamodel
Issue about parsing/validation/rendering of the Prisma schema
topic: error reporting
Issues created via Prisma's CLI Crash Reporting
Milestone
Command:
prisma db push --preview-feature --accept-data-loss
Version:
2.18.0
Binary Version:
da6fafb57b24e0b61ca20960c64e2d41f9e8cff1
Report: https://prisma-errors.netlify.app/report/13069
OS:
x64 win32 10.0.19042
JS Stacktrace:
Rust Stacktrace:
The text was updated successfully, but these errors were encountered: