Answers for "rails add index name"

0

rails add index specifc name

add_index :studies,
  ["user_id", "university_id", "subject_name_id", "subject_type_id"], 
  unique: true,
  name: 'my_index'
Posted by: Guest on November-26-2021

Browse Popular Code Answers by Language