diff options
author | Marius Peter <marius.peter@tutanota.com> | 2025-01-01 18:02:43 +0100 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2025-01-01 18:02:43 +0100 |
commit | cff1e4fc3596943db63603c614eb08945130eeaa (patch) | |
tree | 1b74b3b8bd8d381208f52418a95cadfcc4b84cd8 /db | |
parent | 84ef779f985dad79081bb87dd85d37ae0bc3d73d (diff) |
Rubocop 👮
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20250101141642_add_unique_index_to_scores.rb | 2 |
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 |