db pull
fail with particular enum default value in column
#17047
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: introspection
topic: mysql
topic: prisma db pull
CLI: prisma db pull
Milestone
Bug description
Hi, I have some problems with the introspection engine when I run the command
db pull
when I have a table with a column that contains an enum with an apostrophe and if this enum value is the default, I got a Rust error:With
DEBUG= "*"
i have thisHow to reproduce
To reproduce this error, you need just a database with this table:
and run
db pull
on this database to get the errorExpected behavior
The expected behavior is to get the schema generated by the command
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: