Files
codeocean/db/migrate/20180815115351_remove_event_indices.rb
Maximilian Grundke 6bf14a0e50 Remove indices
2018-08-15 14:17:26 +02:00

8 lines
197 B
Ruby

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