medicode / priv /repo /migrations /20240228015523_add_text_vector_to_transcription_chunks.exs
timgremore's picture
feat: Store vector representation of chunk text
50d1bef
raw
history blame
No virus
273 Bytes
defmodule Medicode.Repo.Migrations.AddTextVectorToTranscriptionChunks do
use Ecto.Migration
def change do
# TODO: text_vector should be not nullable
alter table(:transcription_chunks) do
add :text_vector, :vector, size: 384, null: true
end
end
end