|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150505025537) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150510100343) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
@ -438,6 +438,13 @@ ActiveRecord::Schema.define(:version => 20150505025537) do
|
|
|
|
|
|
|
|
|
|
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
|
|
|
|
|
|
|
|
|
|
create_table "discuss_demos", :force => true do |t|
|
|
|
|
|
t.string "title"
|
|
|
|
|
t.text "body"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "documents", :force => true do |t|
|
|
|
|
|
t.integer "project_id", :default => 0, :null => false
|
|
|
|
|
t.integer "category_id", :default => 0, :null => false
|
|
|
|
@ -534,6 +541,7 @@ ActiveRecord::Schema.define(:version => 20150505025537) do
|
|
|
|
|
t.integer "is_teacher_score", :default => 0
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "homework_attaches", ["bid_id"], :name => "bid_id"
|
|
|
|
|
add_index "homework_attaches", ["bid_id"], :name => "index_homework_attaches_on_bid_id"
|
|
|
|
|
|
|
|
|
|
create_table "homework_evaluations", :force => true do |t|
|
|
|
|
@ -548,7 +556,9 @@ ActiveRecord::Schema.define(:version => 20150505025537) do
|
|
|
|
|
t.integer "bid_id"
|
|
|
|
|
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", ["course_id"], :name => "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|
|
|
|
|
@ -1155,10 +1165,12 @@ ActiveRecord::Schema.define(:version => 20150505025537) do
|
|
|
|
|
t.integer "course_id"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.integer "student_idCopy"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
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 => "student_id"
|
|
|
|
|
|
|
|
|
|
create_table "taggings", :force => true do |t|
|
|
|
|
|
t.integer "tag_id"
|
|
|
|
|