90 lines
3.4 KiB
Plaintext
90 lines
3.4 KiB
Plaintext
Verifying Lead model...
|
|
prisma:query SELECT COUNT(*) FROM (SELECT "public"."Lead"."id" FROM "public"."Lead" WHERE 1=1 OFFSET $1) AS "sub"
|
|
node.exe :
|
|
Verification failed:
|
|
PrismaClientKnownRequ
|
|
estError:
|
|
In Zeile:1 Zeichen:1
|
|
+ & "C:\Program Files
|
|
\nodejs/node.exe"
|
|
"C:\Program
|
|
Files\nodejs/node_mo
|
|
...
|
|
+ ~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~~~~~~~~~~~~~~
|
|
~~~~~~~~
|
|
+ CategoryInfo
|
|
: NotSpe
|
|
cified: (Verific
|
|
ation fa...nRequ
|
|
estError: :Strin
|
|
g) [], RemoteExc
|
|
eption
|
|
+ FullyQualified
|
|
ErrorId : Native
|
|
CommandError
|
|
|
|
Invalid
|
|
`any).lead.count()`
|
|
invocation in
|
|
C:\Users\a931627\Docu
|
|
ments\QRMASTER\script
|
|
s\verify-lead-db.ts:8
|
|
:50
|
|
|
|
5 try {
|
|
6 console.log('
|
|
Verifying Lead
|
|
model...');
|
|
7 // Type
|
|
assertion to bypass
|
|
potential type
|
|
generation issues
|
|
locally if they exist
|
|
 8 const
|
|
leadCount = await
|
|
(db as
|
|
any).lead.count(
|
|
The table
|
|
`public.Lead` does
|
|
not exist in the
|
|
current database.
|
|
at $n.handleReque
|
|
stError (C:\Users\a93
|
|
1627\Documents\QRMAST
|
|
ER\node_modules\@pris
|
|
ma\client\runtime\lib
|
|
rary.js:121:7315)
|
|
at $n.handleAndLo
|
|
gRequestError (C:\Use
|
|
rs\a931627\Documents\
|
|
QRMASTER\node_modules
|
|
\@prisma\client\runti
|
|
me\library.js:121:662
|
|
3)
|
|
at $n.request (C:
|
|
\Users\a931627\Docume
|
|
nts\QRMASTER\node_mod
|
|
ules\@prisma\client\r
|
|
untime\library.js:121
|
|
:6307)
|
|
at async l (C:\Us
|
|
ers\a931627\Documents
|
|
\QRMASTER\node_module
|
|
s\@prisma\client\runt
|
|
ime\library.js:130:96
|
|
33)
|
|
at async main (C:
|
|
\Users\a931627\Docume
|
|
nts\QRMASTER\scripts\
|
|
verify-lead-db.ts:8:2
|
|
7) {
|
|
code: 'P2021',
|
|
clientVersion:
|
|
'5.22.0',
|
|
meta: { modelName:
|
|
'Lead', table:
|
|
'public.Lead' }
|
|
}
|