socialforge/db/migrate/20131017135933_add_index_to...

8 lines
188 B
Ruby
Raw Normal View History

2013-10-24 08:24:56 +08:00
class AddIndexToUserGrades < ActiveRecord::Migration
def change
add_index :user_grades, :grade
add_index :user_grades, :project_id
add_index :user_grades, :user_id
end
end