Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails add index specifc name

add_index :studies,
  ["user_id", "university_id", "subject_name_id", "subject_type_id"], 
  unique: true,
  name: 'my_index'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #add #index #specifc
ADD COMMENT
Topic
Name
9+8 =