## TL;DR

The vector extension is not enabled on that database.

## Fix

1. The vector extension is not enabled on that database.
   Expected: you can confirm this matches your situation.

## When to use

- You are setting up or using this Neon pgvector feature.
- The symptom matches: type "vector" does not exist on a fresh branch.

## When NOT to use

- Unrelated Neon pgvector issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.

## Compatibility

Reported against Neon pgvector. Source: https://github.com/jacobkus/intelligent-hr-assistant.

## Variant phrasings

### type "vector" does not exist on a fresh branch

## Why it happens

Migrations fail with ERROR: type "vector" does not exist, usually on a new Neon branch or CI preview database.

## Edge cases

- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.

## Source

https://github.com/jacobkus/intelligent-hr-assistant