defmodule MedicalTranscription.Repo.Migrations.MigrateToVectorForCodeFeedbacks do use Ecto.Migration def change do alter table("code_feedbacks") do add :text_vector, :vector, size: 384 add :code_vector_id, references("code_vectors") # These two columns can be found on the `code_vectors` table referenced above remove :code, :string remove :long_description, :string end end end