@ -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 = > 20150 829070 453) do
ActiveRecord :: Schema . define ( :version = > 20150 906083 453) 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
@ -497,23 +497,26 @@ ActiveRecord::Schema.define(:version => 20150829070453) do
add_index " documents " , [ " created_on " ] , :name = > " index_documents_on_created_on "
add_index " documents " , [ " created_on " ] , :name = > " index_documents_on_created_on "
add_index " documents " , [ " project_id " ] , :name = > " documents_project_id "
add_index " documents " , [ " project_id " ] , :name = > " documents_project_id "
create_table " dts " , :force = > true do | t |
create_table " dts " , :primary_key = > " Num " , :force = > true do | t |
t . string " IPLineCode "
t . string " Defect " , :limit = > 50
t . string " Description "
t . string " Category " , :limit = > 50
t . string " Num "
t . string " Variable "
t . string " TraceInfo "
t . string " Method "
t . string " File "
t . string " File "
t . string " IPLine "
t . string " Method "
t . string " Review "
t . string " Module " , :limit = > 20
t . string " Category "
t . string " Variable " , :limit = > 50
t . string " Defect "
t . integer " StartLine "
t . string " PreConditions "
t . integer " IPLine "
t . string " StartLine "
t . string " IPLineCode " , :limit = > 200
t . string " Judge " , :limit = > 15
t . integer " Review " , :limit = > 1
t . string " Description "
t . text " PreConditions " , :limit = > 2147483647
t . text " TraceInfo " , :limit = > 2147483647
t . text " Code " , :limit = > 2147483647
t . integer " project_id "
t . integer " project_id "
t . datetime " created_at " , :null = > false
t . datetime " created_at "
t . datetime " updated_at " , :null = > false
t . datetime " updated_at "
t . integer " id " , :null = > false
end
end
create_table " enabled_modules " , :force = > true do | t |
create_table " enabled_modules " , :force = > true do | t |
@ -936,6 +939,13 @@ ActiveRecord::Schema.define(:version => 20150829070453) do
t . datetime " updated_at " , :null = > false
t . datetime " updated_at " , :null = > false
end
end
create_table " onclick_times " , :force = > true do | t |
t . integer " user_id "
t . datetime " onclick_time "
t . datetime " created_at " , :null = > false
t . datetime " updated_at " , :null = > false
end
create_table " open_id_authentication_associations " , :force = > true do | t |
create_table " open_id_authentication_associations " , :force = > true do | t |
t . integer " issued "
t . integer " issued "
t . integer " lifetime "
t . integer " lifetime "
@ -1296,11 +1306,11 @@ ActiveRecord::Schema.define(:version => 20150829070453) do
create_table " student_work_tests " , :force = > true do | t |
create_table " student_work_tests " , :force = > true do | t |
t . integer " student_work_id "
t . integer " student_work_id "
t . integer " homework_test_id "
t . integer " result "
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 . text " error_msg "
t . integer " status " , :default = > 9
t . text " results "
t . text " src "
end
end
create_table " student_works " , :force = > true do | t |
create_table " student_works " , :force = > true do | t |
@ -1317,6 +1327,7 @@ ActiveRecord::Schema.define(:version => 20150829070453) do
t . datetime " updated_at " , :null = > false
t . datetime " updated_at " , :null = > false
t . integer " late_penalty " , :default = > 0
t . integer " late_penalty " , :default = > 0
t . integer " absence_penalty " , :default = > 0
t . integer " absence_penalty " , :default = > 0
t . integer " system_score "
end
end
create_table " student_works_evaluation_distributions " , :force = > true do | t |
create_table " student_works_evaluation_distributions " , :force = > true do | t |
@ -1534,7 +1545,6 @@ ActiveRecord::Schema.define(:version => 20150829070453) do
t . string " identity_url "
t . string " identity_url "
t . string " mail_notification " , :default = > " " , :null = > false
t . string " mail_notification " , :default = > " " , :null = > false
t . string " salt " , :limit = > 64
t . string " salt " , :limit = > 64
t . integer " gid "
end
end
add_index " users " , [ " auth_source_id " ] , :name = > " index_users_on_auth_source_id "
add_index " users " , [ " auth_source_id " ] , :name = > " index_users_on_auth_source_id "