|
|
@ -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 => 20160624103411) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20160630112733) 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
|
|
|
@ -57,6 +57,18 @@ ActiveRecord::Schema.define(:version => 20160624103411) do
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
end
|
|
|
|
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|
|
|
|
|
create_table "apply_homeworks", :force => true do |t|
|
|
|
|
t.integer "status"
|
|
|
|
t.integer "status"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "user_id"
|
|
|
@ -1532,6 +1544,7 @@ ActiveRecord::Schema.define(:version => 20160624103411) do
|
|
|
|
t.string "path"
|
|
|
|
t.string "path"
|
|
|
|
t.string "branch"
|
|
|
|
t.string "branch"
|
|
|
|
t.string "language"
|
|
|
|
t.string "language"
|
|
|
|
|
|
|
|
t.string "sonar_name"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "queries", :force => true do |t|
|
|
|
|
create_table "queries", :force => true do |t|
|
|
|
@ -1636,6 +1649,7 @@ ActiveRecord::Schema.define(:version => 20160624103411) do
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.string "logo_link"
|
|
|
|
t.string "logo_link"
|
|
|
|
t.string "pinyin"
|
|
|
|
t.string "pinyin"
|
|
|
|
|
|
|
|
t.integer "school_type", :default => 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "secdomains", :force => true do |t|
|
|
|
|
create_table "secdomains", :force => true do |t|
|
|
|
@ -1850,6 +1864,16 @@ ActiveRecord::Schema.define(:version => 20160624103411) do
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "user_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.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
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "syllabuses", ["user_id"], :name => "index_syllabuses_on_user_id"
|
|
|
|
add_index "syllabuses", ["user_id"], :name => "index_syllabuses_on_user_id"
|
|
|
|