Rails Tambahkan Indeks Nama Spesifik

add_index :studies,
  ["user_id", "university_id", "subject_name_id", "subject_type_id"], 
  unique: true,
  name: 'my_index'
Stormy Snail