mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-06-28 10:32:15 +00:00
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…
x
Reference in New Issue
Block a user