File size: 329 Bytes
3f219b5 18980e4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
defmodule Medicode.Repo.Migrations.AddUniqueConstraintToCodeFeedbacksForUserAndTranscriptionChunk do
use Ecto.Migration
def change do
create(
unique_index(
:code_feedbacks,
[:transcription_chunk_id, :user_id],
name: :index_for_transcription_chunk_user_id_uniqueness
)
)
end
end
|