|
|
@ -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 => 20140513073801) do
|
|
|
|
ActiveRecord::Schema.define(:version => 20140516031200) 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
|
|
|
@ -52,14 +52,11 @@ ActiveRecord::Schema.define(:version => 20140513073801) do
|
|
|
|
add_index "attachments", ["container_id", "container_type"], :name => "index_attachments_on_container_id_and_container_type"
|
|
|
|
add_index "attachments", ["container_id", "container_type"], :name => "index_attachments_on_container_id_and_container_type"
|
|
|
|
add_index "attachments", ["created_on"], :name => "index_attachments_on_created_on"
|
|
|
|
add_index "attachments", ["created_on"], :name => "index_attachments_on_created_on"
|
|
|
|
|
|
|
|
|
|
|
|
create_table "attachmentstypes", :id => false, :force => true do |t|
|
|
|
|
create_table "attachmentstypes", :force => true do |t|
|
|
|
|
t.integer "id", :null => false
|
|
|
|
t.integer "typeId", :null => false
|
|
|
|
t.integer "typeId"
|
|
|
|
|
|
|
|
t.string "typeName", :limit => 50
|
|
|
|
t.string "typeName", :limit => 50
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
add_index "attachmentstypes", ["id"], :name => "id"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "auth_sources", :force => true do |t|
|
|
|
|
create_table "auth_sources", :force => true do |t|
|
|
|
|
t.string "type", :limit => 30, :default => "", :null => false
|
|
|
|
t.string "type", :limit => 30, :default => "", :null => false
|
|
|
|
t.string "name", :limit => 60, :default => "", :null => false
|
|
|
|
t.string "name", :limit => 60, :default => "", :null => false
|
|
|
@ -652,6 +649,13 @@ ActiveRecord::Schema.define(:version => 20140513073801) do
|
|
|
|
add_index "queries", ["project_id"], :name => "index_queries_on_project_id"
|
|
|
|
add_index "queries", ["project_id"], :name => "index_queries_on_project_id"
|
|
|
|
add_index "queries", ["user_id"], :name => "index_queries_on_user_id"
|
|
|
|
add_index "queries", ["user_id"], :name => "index_queries_on_user_id"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
create_table "relative_memo_to_open_source_projects", :force => true do |t|
|
|
|
|
|
|
|
|
t.integer "osp_id"
|
|
|
|
|
|
|
|
t.integer "relative_memo_id"
|
|
|
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "relative_memos", :force => true do |t|
|
|
|
|
create_table "relative_memos", :force => true do |t|
|
|
|
|
t.integer "osp_id", :null => false
|
|
|
|
t.integer "osp_id", :null => false
|
|
|
|
t.integer "parent_id"
|
|
|
|
t.integer "parent_id"
|
|
|
@ -668,6 +672,9 @@ ActiveRecord::Schema.define(:version => 20140513073801) do
|
|
|
|
t.integer "viewed_count_crawl", :default => 0
|
|
|
|
t.integer "viewed_count_crawl", :default => 0
|
|
|
|
t.integer "viewed_count_local", :default => 0
|
|
|
|
t.integer "viewed_count_local", :default => 0
|
|
|
|
t.string "url"
|
|
|
|
t.string "url"
|
|
|
|
|
|
|
|
t.string "username"
|
|
|
|
|
|
|
|
t.string "userhomeurl"
|
|
|
|
|
|
|
|
t.date "date_collected"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "repositories", :force => true do |t|
|
|
|
|
create_table "repositories", :force => true do |t|
|
|
|
@ -740,7 +747,6 @@ ActiveRecord::Schema.define(:version => 20140513073801) do
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "project_id"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.integer "user_id"
|
|
|
|
t.string "description"
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
create_table "softapplications", :force => true do |t|
|
|
|
|
create_table "softapplications", :force => true do |t|
|
|
|
@ -843,8 +849,8 @@ ActiveRecord::Schema.define(:version => 20140513073801) do
|
|
|
|
t.integer "zip_code"
|
|
|
|
t.integer "zip_code"
|
|
|
|
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 "technical_title"
|
|
|
|
|
|
|
|
t.integer "identity"
|
|
|
|
t.integer "identity"
|
|
|
|
|
|
|
|
t.string "technical_title"
|
|
|
|
t.string "student_id"
|
|
|
|
t.string "student_id"
|
|
|
|
t.string "teacher_realname"
|
|
|
|
t.string "teacher_realname"
|
|
|
|
t.string "student_realname"
|
|
|
|
t.string "student_realname"
|
|
|
|