defmodule Medicode.Repo.Migrations.CreateLabelVectors do | |
use Ecto.Migration | |
def change do | |
create table(:code_vectors, primary_key: false) do | |
add :id, :binary_id, primary_key: true | |
add :code, :string | |
add :description, :string | |
add :description_vector, :vector, size: 384 | |
end | |
end | |
end | |