Skip to content

Commit

Permalink
fix postgres adapter migration extension creation which already exist…
Browse files Browse the repository at this point in the history
…s at this point (elizaOS#2188)
  • Loading branch information
web3gh authored Jan 12, 2025
1 parent 9e8a15e commit feb9a53
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BEGIN
FROM pg_extension
WHERE extname = 'vector'
) THEN
CREATE EXTENSION vector
CREATE EXTENSION vector IF NOT EXISTS
SCHEMA extensions;
END IF;
END $$;
Expand All @@ -33,7 +33,7 @@ BEGIN
FROM pg_extension
WHERE extname = 'fuzzystrmatch'
) THEN
CREATE EXTENSION fuzzystrmatch
CREATE EXTENSION fuzzystrmatch IF NOT EXISTS
SCHEMA extensions;
END IF;
END $$;
Expand Down

0 comments on commit feb9a53

Please sign in to comment.