0
I need to add a double index to the ratio N to N, from the table courses_internships
. would be more or less like this: add_index[:course_id, :internship_id]
.
However, when I created the link table, the index was separated by the columns, not as the index being both. How can I reverse this situation?
And ah, I use the method has_and_belongs_to_many
Ok, you need to remove the old index and create another one right ?
– Bruno Casali