Files
codeocean/db/migrate/20180815115351_remove_event_indices.rb

8 lines
202 B
Ruby

class RemoveEventIndices < ActiveRecord::Migration[4.2]
def change
remove_index :events, [:user_type, :user_id]
remove_index :events, :exercise_id
remove_index :events, :file_id
end
end