fix: migration for db without pgvector
This commit is contained in:
parent
32a473726d
commit
2f8925f01e
|
|
@ -1 +0,0 @@
|
||||||
CREATE INDEX af_collab_embeddings_oid_idx ON public.af_collab_embeddings (oid);
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
DO $$
|
||||||
|
BEGIN
|
||||||
|
CREATE INDEX IF NOT EXISTS af_collab_embeddings_oid_idx ON public.af_collab_embeddings (oid);
|
||||||
|
EXCEPTION WHEN others THEN
|
||||||
|
RAISE NOTICE 'could not create index on af_collab_embeddings(oid), ignoring this migration';
|
||||||
|
END $$;
|
||||||
Loading…
Reference in New Issue