fullText contradicting errors
PrismaClientKnownRequestError:
Invalid `prisma.user.findMany()` invocation:
Cannot find a fulltext index to use for the native search, try adding a @@fulltext([Fields...]) to your schemaPrismaClientKnownRequestError:
Invalid `prisma.user.findMany()` invocation:
Cannot find a fulltext index to use for the native search, try adding a @@fulltext([Fields...]) to your schemaThen I add the @@fullText part to my schema and I get
Error: Prisma schema validation - (get-dmmf wasm)
Error code: P1012
error: Attribute not known: "@fullText".
--> prisma\schema.prisma:88
|
87 | @@index([siteId])
88 | @@fullText([name, firstName, lastName])Error: Prisma schema validation - (get-dmmf wasm)
Error code: P1012
error: Attribute not known: "@fullText".
--> prisma\schema.prisma:88
|
87 | @@index([siteId])
88 | @@fullText([name, firstName, lastName])