From 25b2e2f592bd8df9a5cbd3c77322b572eb8f829c Mon Sep 17 00:00:00 2001
From: Grail Finder <wohilas@gmail.com>
Date: Wed, 19 Nov 2025 12:32:46 +0300
Subject: Fix: migration use of vec0; rag cleanup

---
 storage/migrations/002_add_vector.down.sql | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 storage/migrations/002_add_vector.down.sql

(limited to 'storage/migrations/002_add_vector.down.sql')

diff --git a/storage/migrations/002_add_vector.down.sql b/storage/migrations/002_add_vector.down.sql
new file mode 100644
index 0000000..71c1f51
--- /dev/null
+++ b/storage/migrations/002_add_vector.down.sql
@@ -0,0 +1,10 @@
+-- Drop vector storage tables
+DROP INDEX IF EXISTS idx_embeddings_384_filename;
+DROP INDEX IF EXISTS idx_embeddings_5120_filename;
+DROP INDEX IF EXISTS idx_embeddings_384_slug;
+DROP INDEX IF EXISTS idx_embeddings_5120_slug;
+DROP INDEX IF EXISTS idx_embeddings_384_created_at;
+DROP INDEX IF EXISTS idx_embeddings_5120_created_at;
+
+DROP TABLE IF EXISTS embeddings_384;
+DROP TABLE IF EXISTS embeddings_5120;
\ No newline at end of file
-- 
cgit v1.2.3

