Commit graph

2 commits

Author SHA1 Message Date
Toon Claes
54b639195d 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.
2018-11-27 11:40:38 +01:00
Andreas Brandl
e3ff390986 Add rubocop check for add_reference to require index. 2018-08-08 23:30:48 +02:00