summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20250101141642_add_unique_index_to_scores.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20250101141642_add_unique_index_to_scores.rb b/db/migrate/20250101141642_add_unique_index_to_scores.rb
index 8efde1f..2991059 100644
--- a/db/migrate/20250101141642_add_unique_index_to_scores.rb
+++ b/db/migrate/20250101141642_add_unique_index_to_scores.rb
@@ -1,7 +1,7 @@
class AddUniqueIndexToScores < ActiveRecord::Migration[8.0]
def change
add_index :scores,
- [:tartiflette_id, :scoring_criterium_id, :session_id],
+ [ :tartiflette_id, :scoring_criterium_id, :session_id ],
unique: true,
name: "index_scores_on_tartiflette_criterium_session"
end
Copyright 2019--2025 Marius PETER