medicode / priv /repo /migrations /20240125151151_enable_pgvector.exs
noahsettersten's picture
chore: Enable Postgres `vector` extension
9a47586
raw
history blame
177 Bytes
defmodule MedicalTranscription.Repo.Migrations.EnablePgvector do
use Ecto.Migration
def change do
execute("CREATE EXTENSION vector", "DROP EXTENSION vector")
end
end