Make add_reference cop accept a hash for :index
It might happen you want to make the reference column have a unique value, or you want to create partial indexes. So instead of only accepting a `true` value, also accept a hash of options.
Showing
Please register or sign in to comment