parent
8929644ab1
commit
71004e2f78
@ -0,0 +1,5 @@
|
||||
class AddIndexToHomeworkattachBidId < ActiveRecord::Migration
|
||||
def change
|
||||
add_index(:homework_attaches,:bid_id)
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
class AddIndexToStudentforcourseStudentId < ActiveRecord::Migration
|
||||
def change
|
||||
add_index(:students_for_courses,:student_id)
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
class AddIndexToStudentforcourseCourseId < ActiveRecord::Migration
|
||||
def change
|
||||
add_index(:students_for_courses,:course_id)
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
class AddIndexToHomeworkattachCourseId < ActiveRecord::Migration
|
||||
def change
|
||||
add_index(:homework_for_courses,:course_id)
|
||||
end
|
||||
end
|
@ -0,0 +1,5 @@
|
||||
class AddIndexToHomeworkforcourseBidId < ActiveRecord::Migration
|
||||
def change
|
||||
add_index(:homework_for_courses,:bid_id)
|
||||
end
|
||||
end
|
Loading…
Reference in new issue