timgremore
commited on
Commit
•
7e656f0
1
Parent(s):
c3b9be6
chore: Support Supabase deploy
Browse files
priv/repo/migrations/20240125151151_enable_pgvector.exs
CHANGED
@@ -2,6 +2,6 @@ defmodule Medicode.Repo.Migrations.EnablePgvector do
|
|
2 |
use Ecto.Migration
|
3 |
|
4 |
def change do
|
5 |
-
execute("CREATE EXTENSION vector", "DROP EXTENSION vector")
|
6 |
end
|
7 |
end
|
|
|
2 |
use Ecto.Migration
|
3 |
|
4 |
def change do
|
5 |
+
execute("CREATE EXTENSION IF NOT EXISTS vector", "DROP EXTENSION vector")
|
6 |
end
|
7 |
end
|