FIX: Automatic embeddings index could fail if it existed in the backup schema (#441)
This commit is contained in:
parent
16d666fe69
commit
fa6bc7f409
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue