Remove indices
This commit is contained in:
7
db/migrate/20180815115351_remove_event_indices.rb
Normal file
7
db/migrate/20180815115351_remove_event_indices.rb
Normal 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
|
Reference in New Issue
Block a user