FIX: Automatic embeddings index could fail if it existed in the backup schema (#441)

This commit is contained in:
Rafael dos Santos Silva 2024-01-24 15:57:26 -03:00 committed by GitHub
parent 16d666fe69
commit fa6bc7f409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ module DiscourseAi
pg_indexes pg_indexes
WHERE WHERE
indexname = :index_name indexname = :index_name
AND schemaname = 'public'
LIMIT 1 LIMIT 1
SQL SQL