gitlab-org--gitlab-foss/rubocop/cop/migration
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
..
add_column.rb
add_concurrent_foreign_key.rb
add_concurrent_index.rb
add_index.rb
add_reference.rb Make add_reference cop accept a hash for :index 2018-11-27 11:40:38 +01:00
add_timestamps.rb
datetime.rb
hash_index.rb
remove_column.rb
remove_concurrent_index.rb
remove_index.rb
reversible_add_column_with_default.rb
safer_boolean_column.rb
timestamps.rb
update_column_in_batches.rb
update_large_table.rb