|
|
@ -541,7 +541,6 @@ ActiveRecord::Schema.define(:version => 20150514133640) do
|
|
|
|
t.integer "is_teacher_score", :default => 0
|
|
|
|
t.integer "is_teacher_score", :default => 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "homework_attaches", ["bid_id"], :name => "bid_id"
|
|
|
|
|
|
|
|
add_index "homework_attaches", ["bid_id"], :name => "index_homework_attaches_on_bid_id"
|
|
|
|
add_index "homework_attaches", ["bid_id"], :name => "index_homework_attaches_on_bid_id"
|
|
|
|
|
|
|
|
|
|
|
|
create_table "homework_evaluations", :force => true do |t|
|
|
|
|
create_table "homework_evaluations", :force => true do |t|
|
|
|
@ -556,9 +555,7 @@ ActiveRecord::Schema.define(:version => 20150514133640) do
|
|
|
|
t.integer "bid_id"
|
|
|
|
t.integer "bid_id"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "homework_for_courses", ["bid_id"], :name => "bid_id"
|
|
|
|
|
|
|
|
add_index "homework_for_courses", ["bid_id"], :name => "index_homework_for_courses_on_bid_id"
|
|
|
|
add_index "homework_for_courses", ["bid_id"], :name => "index_homework_for_courses_on_bid_id"
|
|
|
|
add_index "homework_for_courses", ["course_id"], :name => "course_id"
|
|
|
|
|
|
|
|
add_index "homework_for_courses", ["course_id"], :name => "index_homework_for_courses_on_course_id"
|
|
|
|
add_index "homework_for_courses", ["course_id"], :name => "index_homework_for_courses_on_course_id"
|
|
|
|
|
|
|
|
|
|
|
|
create_table "homework_users", :force => true do |t|
|
|
|
|
create_table "homework_users", :force => true do |t|
|
|
|
@ -1163,14 +1160,12 @@ ActiveRecord::Schema.define(:version => 20150514133640) do
|
|
|
|
create_table "students_for_courses", :force => true do |t|
|
|
|
|
create_table "students_for_courses", :force => true do |t|
|
|
|
|
t.integer "student_id"
|
|
|
|
t.integer "student_id"
|
|
|
|
t.integer "course_id"
|
|
|
|
t.integer "course_id"
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.integer "student_idCopy"
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "students_for_courses", ["course_id"], :name => "index_students_for_courses_on_course_id"
|
|
|
|
add_index "students_for_courses", ["course_id"], :name => "index_students_for_courses_on_course_id"
|
|
|
|
add_index "students_for_courses", ["student_id"], :name => "index_students_for_courses_on_student_id"
|
|
|
|
add_index "students_for_courses", ["student_id"], :name => "index_students_for_courses_on_student_id"
|
|
|
|
add_index "students_for_courses", ["student_id"], :name => "student_id"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "taggings", :force => true do |t|
|
|
|
|
create_table "taggings", :force => true do |t|
|
|
|
|
t.integer "tag_id"
|
|
|
|
t.integer "tag_id"
|
|
|
|