Scott
Scott
PPrisma
Created by Scott on 1/8/2025 in #help-and-questions
Getting P1012 preview feature not found using fullTextSearchPostgres
Using Prisma v6, when attempting to reset the my Postgres DB using prisma migrate reset --force, I am receving the following error:
Prisma schema loaded from prisma/schema
Datasource "db": PostgreSQL database "db", schemas "audit, public" at "localhost:5432"

Error: P1012

error: The preview feature "fullTextSearchPostgres" is not known. Expected one of: deno, driverAdapters, fullTextIndex, fullTextSearch, metrics, multiSchema, nativeDistinct, postgresqlExtensions, tracing, views, relationJoins, prismaSchemaFolder, omitApi, strictUndefinedChecks
--> prisma/schema/schema.prisma:4
|
3 | binaryTargets = ["native", "linux-musl"]
4 | previewFeatures = ["relationJoins", "prismaSchemaFolder", "multiSchema", "fullTextSearchPostgres"]
|
Prisma schema loaded from prisma/schema
Datasource "db": PostgreSQL database "db", schemas "audit, public" at "localhost:5432"

Error: P1012

error: The preview feature "fullTextSearchPostgres" is not known. Expected one of: deno, driverAdapters, fullTextIndex, fullTextSearch, metrics, multiSchema, nativeDistinct, postgresqlExtensions, tracing, views, relationJoins, prismaSchemaFolder, omitApi, strictUndefinedChecks
--> prisma/schema/schema.prisma:4
|
3 | binaryTargets = ["native", "linux-musl"]
4 | previewFeatures = ["relationJoins", "prismaSchemaFolder", "multiSchema", "fullTextSearchPostgres"]
|
I have tried clearing all modules and caches, re-generating client, etc. At a loss as to why this happening and how to fix.
7 replies