|
|
@ -11,7 +11,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20160504060751) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20160506104128) do
|
|
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
t.integer "act_id", :null => false
|
|
|
@ -485,7 +485,7 @@ ActiveRecord::Schema.define(:version => 20160504060751) do
|
|
|
|
t.integer "viewed"
|
|
|
|
t.integer "viewed"
|
|
|
|
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.string "content"
|
|
|
|
t.text "content"
|
|
|
|
t.integer "status"
|
|
|
|
t.integer "status"
|
|
|
|
t.integer "apply_user_id"
|
|
|
|
t.integer "apply_user_id"
|
|
|
|
t.integer "apply_result"
|
|
|
|
t.integer "apply_result"
|
|
|
@ -1779,6 +1779,31 @@ ActiveRecord::Schema.define(:version => 20160504060751) do
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "sub_document_comments", :force => true do |t|
|
|
|
|
|
|
|
|
t.text "content"
|
|
|
|
|
|
|
|
t.text "title"
|
|
|
|
|
|
|
|
t.integer "sub_domain_id"
|
|
|
|
|
|
|
|
t.integer "creator_id"
|
|
|
|
|
|
|
|
t.integer "parent_id"
|
|
|
|
|
|
|
|
t.integer "reply_id"
|
|
|
|
|
|
|
|
t.integer "locked"
|
|
|
|
|
|
|
|
t.integer "sticky"
|
|
|
|
|
|
|
|
t.integer "org_subfield_id"
|
|
|
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "sub_domains", :force => true do |t|
|
|
|
|
|
|
|
|
t.integer "org_subfield_id"
|
|
|
|
|
|
|
|
t.integer "priority", :default => 0
|
|
|
|
|
|
|
|
t.string "name"
|
|
|
|
|
|
|
|
t.string "field_type"
|
|
|
|
|
|
|
|
t.integer "hide", :default => 0
|
|
|
|
|
|
|
|
t.integer "status", :default => 0
|
|
|
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "subfield_subdomain_dirs", :force => true do |t|
|
|
|
|
create_table "subfield_subdomain_dirs", :force => true do |t|
|
|
|
|
t.integer "org_subfield_id"
|
|
|
|
t.integer "org_subfield_id"
|
|
|
|
t.string "name"
|
|
|
|
t.string "name"
|
|
|
|