File size: 337 Bytes
3f219b5
8380a87
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
defmodule Medicode.Repo.Migrations.AddAssignedByUserIdToTranscriptionChunkCodeVectors do
  use Ecto.Migration

  def change do
    alter table(:transcription_chunk_code_vectors) do
      add(
        :assigned_by_user_id,
        references(:users, type: :binary_id, on_delete: :nilify_all),
        null: true
      )
    end
  end
end