attempting to fix ci

This commit is contained in:
Swifty
2025-12-05 16:36:54 +01:00
parent 3b9abbcdbc
commit 521dbdc25f
2 changed files with 4 additions and 5 deletions

View File

@@ -13,10 +13,6 @@ CREATE EXTENSION IF NOT EXISTS vector;
-- First drop the view that depends on the search column
DROP VIEW IF EXISTS "StoreAgent";
-- Remove full-text search infrastructure
DROP TRIGGER IF EXISTS "update_tsvector" ON "StoreListingVersion";
DROP FUNCTION IF EXISTS update_tsvector_column();
-- Add embedding column for vector search (1536 dimensions for text-embedding-3-small)
ALTER TABLE "StoreListingVersion"
ADD COLUMN IF NOT EXISTS "embedding" vector(1536);

View File

@@ -849,7 +849,10 @@ model StoreListingVersion {
// Old versions can be made unavailable by the author if desired
isAvailable Boolean @default(true)
// Vector embedding for semantic search (replaces tsvector full-text search)
// Full-text search tsvector column
search Unsupported("tsvector")?
// Vector embedding for semantic search
embedding Unsupported("vector(1536)")?
// Version workflow state