• Toon Claes's avatar
    Make add_reference cop accept a hash for :index · 54b63919
    Toon Claes authored
    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.
    54b63919
add_reference.rb 1.28 KB