From cff1e4fc3596943db63603c614eb08945130eeaa Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Wed, 1 Jan 2025 18:02:43 +0100 Subject: =?UTF-8?q?Rubocop=20=F0=9F=91=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20250101141642_add_unique_index_to_scores.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/migrate') 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 -- cgit v1.2.3