|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20160627090316) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20160707031248) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
@ -57,6 +57,18 @@ ActiveRecord::Schema.define(:version => 20160627090316) do
|
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "apply_add_schools", :force => true do |t|
|
|
|
|
|
t.string "name"
|
|
|
|
|
t.string "province"
|
|
|
|
|
t.string "city"
|
|
|
|
|
t.string "address"
|
|
|
|
|
t.string "remarks"
|
|
|
|
|
t.integer "school_id"
|
|
|
|
|
t.integer "status", :default => 0
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "apply_homeworks", :force => true do |t|
|
|
|
|
|
t.integer "status"
|
|
|
|
|
t.integer "user_id"
|
|
|
|
@ -1633,10 +1645,11 @@ ActiveRecord::Schema.define(:version => 20160627090316) do
|
|
|
|
|
create_table "schools", :force => true do |t|
|
|
|
|
|
t.string "name"
|
|
|
|
|
t.string "province"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.string "logo_link"
|
|
|
|
|
t.string "pinyin"
|
|
|
|
|
t.integer "school_type", :default => 0
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "secdomains", :force => true do |t|
|
|
|
|
@ -1725,6 +1738,14 @@ ActiveRecord::Schema.define(:version => 20160627090316) do
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "sonar_errors", :force => true do |t|
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.string "jenkins_job_name"
|
|
|
|
|
t.text "output"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "ssos", :force => true do |t|
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.string "openid"
|
|
|
|
@ -1849,8 +1870,18 @@ ActiveRecord::Schema.define(:version => 20160627090316) do
|
|
|
|
|
t.string "title"
|
|
|
|
|
t.text "description"
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.string "eng_name"
|
|
|
|
|
t.integer "syllabus_type"
|
|
|
|
|
t.integer "credit"
|
|
|
|
|
t.integer "hours"
|
|
|
|
|
t.integer "theory_hours"
|
|
|
|
|
t.integer "practice_hours"
|
|
|
|
|
t.string "applicable_major"
|
|
|
|
|
t.string "pre_course"
|
|
|
|
|
t.integer "visits", :default => 0
|
|
|
|
|
t.integer "des_status", :default => 0
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "syllabuses", ["user_id"], :name => "index_syllabuses_on_user_id"
|
|
|
|
|