Describe the bug
Currently, there's no mention in the documentation that the vector extension must be enabled manually in PostgreSQL for Drizzle to work correctly when using vector types. Before Drizzle push running this should be mentioned CREATE EXTENSION IF NOT EXISTS vector;
To Reproduce
Steps to reproduce the behavior:
- Set up the project and database following the documentation [Option 4: Manual Setup]
- Run
bunx drizzle-kit push
- See error:
PostgresError: type "vector" does not exist
Expected behavior
The drizzle-kit push command should work without error, assuming the database is correctly set up. The docs should instruct users to run:
Screenshots
