Enabling `vector` in Prisma Postgres DB
I'm trying to enable pgvector in prisma postgres. Be it via running migration script or connecting to the db and executing the command:
CREAT EXTENSION vector; it does not work. Instead, I just get this error:
6 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai channel awaits if you're curious!Last I heard extensions couldn’t be enabled in Prisma Postgres
Hello!
Jon is correct. pgvector extension isn't supported by prisma postgres yet. We are working on adding support for more extensions very soon.
https://www.prisma.io/docs/postgres/more/known-limitations#limited-postgres-extensions-support

Hey @aith 👋🏾 , Prisma Postgres now has
pgvector extension support, along with a few other extensions. You can see an implementation example in the launch article here.
Give it a try and let us know if you have any feedback 🙏🏾 !Prisma
ORM 6.13.0, CI/CD Workflows & pgvector for Prisma Postgres
Prisma ORM v6.13.0 introduces Prisma Config & multi-schema support in GA, pgvector for Prisma Postgres, a new Management API for CI/CD, SQL view enhancements, and a redesigned Prisma Console UI.
Just what I needed! Amazing. I'm gonna try it out tonight
Awesome!