|
|
|
@ -11,12 +11,14 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150715070534) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20150719092427) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
|
t.string "act_type", :null => false
|
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
|
t.string "act_type", :null => false
|
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
|
t.integer "activity_container_id"
|
|
|
|
|
t.string "activity_container_type", :default => ""
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "activities", ["act_id", "act_type"], :name => "index_activities_on_act_id_and_act_type"
|
|
|
|
@ -473,6 +475,25 @@ ActiveRecord::Schema.define(:version => 20150715070534) do
|
|
|
|
|
add_index "documents", ["created_on"], :name => "index_documents_on_created_on"
|
|
|
|
|
add_index "documents", ["project_id"], :name => "documents_project_id"
|
|
|
|
|
|
|
|
|
|
create_table "dts", :force => true do |t|
|
|
|
|
|
t.string "IPLineCode"
|
|
|
|
|
t.string "Description"
|
|
|
|
|
t.string "Num"
|
|
|
|
|
t.string "Variable"
|
|
|
|
|
t.string "TraceInfo"
|
|
|
|
|
t.string "Method"
|
|
|
|
|
t.string "File"
|
|
|
|
|
t.string "IPLine"
|
|
|
|
|
t.string "Review"
|
|
|
|
|
t.string "Category"
|
|
|
|
|
t.string "Defect"
|
|
|
|
|
t.string "PreConditions"
|
|
|
|
|
t.string "StartLine"
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "enabled_modules", :force => true do |t|
|
|
|
|
|
t.integer "project_id"
|
|
|
|
|
t.string "name", :null => false
|
|
|
|
@ -1340,7 +1361,7 @@ ActiveRecord::Schema.define(:version => 20150715070534) do
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "user_extensions", :force => true do |t|
|
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
|
t.integer "user_id", :null => false
|
|
|
|
|
t.date "birthday"
|
|
|
|
|
t.string "brief_introduction"
|
|
|
|
|
t.integer "gender"
|
|
|
|
@ -1348,8 +1369,8 @@ ActiveRecord::Schema.define(:version => 20150715070534) do
|
|
|
|
|
t.string "occupation"
|
|
|
|
|
t.integer "work_experience"
|
|
|
|
|
t.integer "zip_code"
|
|
|
|
|
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 "technical_title"
|
|
|
|
|
t.integer "identity"
|
|
|
|
|
t.string "student_id"
|
|
|
|
@ -1357,6 +1378,7 @@ ActiveRecord::Schema.define(:version => 20150715070534) do
|
|
|
|
|
t.string "student_realname"
|
|
|
|
|
t.string "location_city"
|
|
|
|
|
t.integer "school_id"
|
|
|
|
|
t.string "description", :default => ""
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "user_grades", :force => true do |t|
|
|
|
|
@ -1462,6 +1484,17 @@ ActiveRecord::Schema.define(:version => 20150715070534) do
|
|
|
|
|
add_index "versions", ["project_id"], :name => "versions_project_id"
|
|
|
|
|
add_index "versions", ["sharing"], :name => "index_versions_on_sharing"
|
|
|
|
|
|
|
|
|
|
create_table "visitors", :force => true do |t|
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.integer "master_id"
|
|
|
|
|
t.datetime "updated_on"
|
|
|
|
|
t.datetime "created_on"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
add_index "visitors", ["master_id"], :name => "index_visitors_master_id"
|
|
|
|
|
add_index "visitors", ["updated_on"], :name => "index_visitors_updated_on"
|
|
|
|
|
add_index "visitors", ["user_id"], :name => "index_visitors_user_id"
|
|
|
|
|
|
|
|
|
|
create_table "watchers", :force => true do |t|
|
|
|
|
|
t.string "watchable_type", :default => "", :null => false
|
|
|
|
|
t.integer "watchable_id", :default => 0, :null => false
|
|
|
|
|