-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: called Result::unwrap()
on an Err
value: "Couldn't parse default value in SQL Server
#17069
Comments
Result::unwrap()
on an Err
value: "Couldn't parse default value: \n/****** Object: User dbo Script Date: 1/25/2006 11:12:28 AM ******/\r\n/****** Object: Default dbo.Dflt_Blank Script Date: 1/25/2006 11:12:36 AM ******/\r\n\r\n/****** Object: Default dbo.Dflt_Blank Script Date: 12/21/2005 10:54:26 AM ******/\r\n\r\n/****** Object: Default dbo.Dflt_Blank Script Date: 12/1/2005 1:38:42 PM ******/\r\n\r\n/****** Object: Default dbo.Dflt_Blank Script Date: 11/30/2005 3:07:59 PM ******/\r\n\r\n/****** Object: Default dbo.Dflt_Blank Script Date: 11/30/2005 1:53:54 PM ******/\r\n\r\n/****** Object: Default dbo.Dflt_Blank Script Date: 11/29/2005 2:32:03 PM ******/\r\ncreate default [Dflt_Blank] as ''\r\n\r\n\r\n\r\n\r\n\r\n
" Result::unwrap()
on an Err
value: "Couldn't parse default value in SQL Server
It looks like that user created an issue here #17104 |
We have 6 open issues with "Couldn't parse default" for SQL Server currently https://github.com/prisma/prisma/issues?q=Couldn%27t+parse+default+value+is%3Aopen |
We still do not know how to make Introspection crash because of the existence of such an index. (For us the default is just ignored and not represented in the Prisma schema: #12150) |
Reproduced: The line breaks cause this, see #24275 |
Command:
prisma db pull
Version:
4.8.0
Binary Version:
d6e67a83f971b175a593ccc12e15c4a757f93ffe
Report: https://prisma-errors.netlify.app/report/14485
OS:
x64 win32 10.0.22621
JS Stacktrace:
The text was updated successfully, but these errors were encountered: