forked from cardosofelipe/fast-next-template
register_vector() requires the vector type to exist in PostgreSQL before it can register the type codec. Move CREATE EXTENSION to a separate _ensure_pgvector_extension() method that runs before pool creation. This fixes the "unknown type: public.vector" error on fresh databases. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
33 KiB
33 KiB