Skip to content

Make add_reference cop accept a hash for :index

Toon Claes requested to merge tc-improve-add-reference-cop into master

What does this MR do?

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.

Merge request reports