From 3b64baf9ebf468e5f28f8eb2295ecba16a820f99 Mon Sep 17 00:00:00 2001
From: Grail Finder <wohilas@gmail.com>
Date: Mon, 24 Nov 2025 10:44:12 +0300
Subject: Enha: migrations with different emb tables

---
 storage/migrations/002_add_vector.down.sql | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(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
index 71c1f51..a257b11 100644
--- a/storage/migrations/002_add_vector.down.sql
+++ b/storage/migrations/002_add_vector.down.sql
@@ -1,10 +1,34 @@
 -- Drop vector storage tables
 DROP INDEX IF EXISTS idx_embeddings_384_filename;
+DROP INDEX IF EXISTS idx_embeddings_768_filename;
+DROP INDEX IF EXISTS idx_embeddings_1024_filename;
+DROP INDEX IF EXISTS idx_embeddings_1536_filename;
+DROP INDEX IF EXISTS idx_embeddings_2048_filename;
+DROP INDEX IF EXISTS idx_embeddings_3072_filename;
+DROP INDEX IF EXISTS idx_embeddings_4096_filename;
 DROP INDEX IF EXISTS idx_embeddings_5120_filename;
 DROP INDEX IF EXISTS idx_embeddings_384_slug;
+DROP INDEX IF EXISTS idx_embeddings_768_slug;
+DROP INDEX IF EXISTS idx_embeddings_1024_slug;
+DROP INDEX IF EXISTS idx_embeddings_1536_slug;
+DROP INDEX IF EXISTS idx_embeddings_2048_slug;
+DROP INDEX IF EXISTS idx_embeddings_3072_slug;
+DROP INDEX IF EXISTS idx_embeddings_4096_slug;
 DROP INDEX IF EXISTS idx_embeddings_5120_slug;
 DROP INDEX IF EXISTS idx_embeddings_384_created_at;
+DROP INDEX IF EXISTS idx_embeddings_768_created_at;
+DROP INDEX IF EXISTS idx_embeddings_1024_created_at;
+DROP INDEX IF EXISTS idx_embeddings_1536_created_at;
+DROP INDEX IF EXISTS idx_embeddings_2048_created_at;
+DROP INDEX IF EXISTS idx_embeddings_3072_created_at;
+DROP INDEX IF EXISTS idx_embeddings_4096_created_at;
 DROP INDEX IF EXISTS idx_embeddings_5120_created_at;
 
 DROP TABLE IF EXISTS embeddings_384;
+DROP TABLE IF EXISTS embeddings_768;
+DROP TABLE IF EXISTS embeddings_1024;
+DROP TABLE IF EXISTS embeddings_1536;
+DROP TABLE IF EXISTS embeddings_2048;
+DROP TABLE IF EXISTS embeddings_3072;
+DROP TABLE IF EXISTS embeddings_4096;
 DROP TABLE IF EXISTS embeddings_5120;
\ No newline at end of file
-- 
cgit v1.2.3

