• Patrick Bair's avatar
    Require name for non-concurrent complex indexes · 14ef40d4
    Patrick Bair authored
    Improve upon an existing cop that requires an explicit name be provided
    for indexes that are "complex", i.e. created with a hash of options
    configuring their definition. The cop will no raise offenses at
    non-concurrent index creation either via create_table or add_index.
    14ef40d4
complex_indexes_require_name.rb 1.77 KB