gitlabhq/db/migrate/20121203154450_add_events_indices.rb

9 lines
208 B
Ruby
Raw Normal View History

2012-12-03 16:50:33 +01:00
class AddEventsIndices < ActiveRecord::Migration
def change
add_index :events, :project_id
add_index :events, :author_id
add_index :events, :action
add_index :events, :target_type
end
end