-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Error when pulling from database #19971
Copy link
Copy link
Closed
Labels
bug/2-confirmedBug has been reproduced and confirmed.Bug has been reproduced and confirmed.kind/bugA reported bug.A reported bug.topic: CREATE DEFAULT ... AS ...topic: defaulttopic: introspectiontopic: prisma db pullCLI: prisma db pullCLI: prisma db pulltopic: sql serverMicrosoft SQL ServerMicrosoft SQL Servertopic: unwrap error
Milestone
Description
Hi Prisma Team! The following command just crashed.
Command
db pull --schema [redacted]
Versions
| Name | Version |
|---|---|
| Platform | debian-openssl-3.0.x |
| Node | v18.12.1 |
| Prisma CLI | 4.16.1 |
| Engine | b20ead4d3ab9e78ac112966e242ded703f4a052c |
Error
RustPanic: Error in migration engine.
Reason: [schema-engine/sql-schema-describer/src/mssql.rs:348:30] called `Result::unwrap()` on an `Err` value: "Couldn't parse default value: `create default def_zero as 0\r\n`"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug/2-confirmedBug has been reproduced and confirmed.Bug has been reproduced and confirmed.kind/bugA reported bug.A reported bug.topic: CREATE DEFAULT ... AS ...topic: defaulttopic: introspectiontopic: prisma db pullCLI: prisma db pullCLI: prisma db pulltopic: sql serverMicrosoft SQL ServerMicrosoft SQL Servertopic: unwrap error