Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh
This commit is contained in:
commit
80a7f47b15
|
@ -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