8 lines
188 B
Ruby
8 lines
188 B
Ruby
|
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
|