has_may ,belongs_to ,etc
in those Model association ,will it automatically add index to
forien_keys ?
Pokkai D. wrote:
has_may ,belongs_to ,etc
in those Model association ,will it automatically add index to
forien_keys ?
no, you need to use the
add_index :table, :column_name
in your migrations