Rails Ajouter un nom d'index spécifique
add_index :studies,
["user_id", "university_id", "subject_name_id", "subject_type_id"],
unique: true,
name: 'my_index'
Stormy Snail