From fa6bc7f4091b64187fd2f01c5e19e7f967ab72d4 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Wed, 24 Jan 2024 15:57:26 -0300 Subject: [PATCH] FIX: Automatic embeddings index could fail if it existed in the backup schema (#441) --- lib/embeddings/vector_representations/base.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/embeddings/vector_representations/base.rb b/lib/embeddings/vector_representations/base.rb index 9ce2296e..3eb68245 100644 --- a/lib/embeddings/vector_representations/base.rb +++ b/lib/embeddings/vector_representations/base.rb @@ -37,6 +37,7 @@ module DiscourseAi pg_indexes WHERE indexname = :index_name + AND schemaname = 'public' LIMIT 1 SQL