Remove indices

This commit is contained in:
Maximilian Grundke
2018-08-15 14:17:26 +02:00
parent 16533e2d89
commit 6bf14a0e50
2 changed files with 8 additions and 5 deletions

View File

@ -0,0 +1,7 @@
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