blob: 2991059144620b33efee894be69198d969ab18a9 (
plain)
1
2
3
4
5
6
7
8
|
class AddUniqueIndexToScores < ActiveRecord::Migration[8.0]
def change
add_index :scores,
[ :tartiflette_id, :scoring_criterium_id, :session_id ],
unique: true,
name: "index_scores_on_tartiflette_criterium_session"
end
end
|