Files
codeocean/db/migrate/20180815115351_remove_event_indices.rb
2021-05-14 22:03:06 +02:00

10 lines
232 B
Ruby

# frozen_string_literal: true
class RemoveEventIndices < ActiveRecord::Migration[4.2]
def change
remove_index :events, %i[user_type user_id]
remove_index :events, :exercise_id
remove_index :events, :file_id
end
end