@ -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 = > 201509 17022239 ) do
ActiveRecord :: Schema . define ( :version = > 201509 300 1145 7) 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,26 +497,23 @@ ActiveRecord::Schema.define(:version => 20150917022239) 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 " , :primary_key = > " Num " , :force = > true do | t |
create_table " dts " , :force = > true do | t |
t . string " Defect " , :limit = > 50
t . string " IPLineCode "
t . string " Category " , :limit = > 50
t . string " File "
t . string " Method "
t . string " Module " , :limit = > 20
t . string " Variable " , :limit = > 50
t . integer " StartLine "
t . integer " IPLine "
t . string " IPLineCode " , :limit = > 200
t . string " Judge " , :limit = > 15
t . integer " Review " , :limit = > 1
t . string " Description "
t . string " Description "
t . text " PreConditions " , :limit = > 2147483647
t . string " Num "
t . text " TraceInfo " , :limit = > 2147483647
t . string " Variable "
t . text " Code " , :limit = > 2147483647
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 . integer " project_id "
t . datetime " created_at "
t . datetime " created_at " , :null = > false
t . datetime " updated_at "
t . datetime " updated_at " , :null = > false
t . integer " id " , :null = > false
end
end
create_table " enabled_modules " , :force = > true do | t |
create_table " enabled_modules " , :force = > true do | t |
@ -575,6 +572,8 @@ ActiveRecord::Schema.define(:version => 20150917022239) 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 " secret_key "
t . integer " status "
end
end
create_table " forums " , :force = > true do | t |
create_table " forums " , :force = > true do | t |
@ -783,16 +782,6 @@ ActiveRecord::Schema.define(:version => 20150917022239) do
add_index " journal_details " , [ " journal_id " ] , :name = > " journal_details_journal_id "
add_index " journal_details " , [ " journal_id " ] , :name = > " journal_details_journal_id "
create_table " journal_details_copy " , :force = > true do | t |
t . integer " journal_id " , :default = > 0 , :null = > false
t . string " property " , :limit = > 30 , :default = > " " , :null = > false
t . string " prop_key " , :limit = > 30 , :default = > " " , :null = > false
t . text " old_value "
t . text " value "
end
add_index " journal_details_copy " , [ " journal_id " ] , :name = > " journal_details_journal_id "
create_table " journal_replies " , :id = > false , :force = > true do | t |
create_table " journal_replies " , :id = > false , :force = > true do | t |
t . integer " journal_id "
t . integer " journal_id "
t . integer " user_id "
t . integer " user_id "
@ -911,6 +900,7 @@ ActiveRecord::Schema.define(:version => 20150917022239) do
t . datetime " updated_on " , :null = > false
t . datetime " updated_on " , :null = > false
t . boolean " locked " , :default = > false
t . boolean " locked " , :default = > false
t . integer " sticky " , :default = > 0
t . integer " sticky " , :default = > 0
t . integer " reply_id "
end
end
add_index " messages " , [ " author_id " ] , :name = > " index_messages_on_author_id "
add_index " messages " , [ " author_id " ] , :name = > " index_messages_on_author_id "
@ -1318,9 +1308,9 @@ ActiveRecord::Schema.define(:version => 20150917022239) 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 " status "
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 . integer " status " , :default = > 9
t . text " results "
t . text " results "
t . text " src "
t . text " src "
end
end
@ -1376,6 +1366,7 @@ ActiveRecord::Schema.define(:version => 20150917022239) do
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 " description "
t . text " description "
t . string " subject "
end
end
create_table " taggings " , :force = > true do | t |
create_table " taggings " , :force = > true do | t |
@ -1567,6 +1558,7 @@ ActiveRecord::Schema.define(:version => 20150917022239) 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 "