Files
grecia/db/migrate/20171003095936_remove_officer_assigment_composed_index.rb
Javi Martín 3865225e98 Make migrations using remove_index reversible
These issues were detected after upgrading to rubocop-rails >= 2.8.0.
2021-08-09 23:53:21 +02:00

6 lines
170 B
Ruby

class RemoveOfficerAssigmentComposedIndex < ActiveRecord::Migration[4.2]
def change
remove_index "poll_officer_assignments", column: [:officer_id, :date]
end
end