|
|
|
@ -878,18 +878,18 @@ ActiveRecord::Schema.define(:version => 20140826072838) do
|
|
|
|
|
create_table "relative_memos", :force => true do |t|
|
|
|
|
|
t.integer "osp_id"
|
|
|
|
|
t.integer "parent_id"
|
|
|
|
|
t.string "subject", :null => false
|
|
|
|
|
t.text "content", :limit => 16777215, :null => false
|
|
|
|
|
t.string "subject", :null => false
|
|
|
|
|
t.text "content", :null => false
|
|
|
|
|
t.integer "author_id"
|
|
|
|
|
t.integer "replies_count", :default => 0
|
|
|
|
|
t.integer "replies_count", :default => 0
|
|
|
|
|
t.integer "last_reply_id"
|
|
|
|
|
t.boolean "lock", :default => false
|
|
|
|
|
t.boolean "sticky", :default => false
|
|
|
|
|
t.boolean "is_quote", :default => false
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.integer "viewed_count_crawl", :default => 0
|
|
|
|
|
t.integer "viewed_count_local", :default => 0
|
|
|
|
|
t.boolean "lock", :default => false
|
|
|
|
|
t.boolean "sticky", :default => false
|
|
|
|
|
t.boolean "is_quote", :default => false
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.integer "viewed_count_crawl", :default => 0
|
|
|
|
|
t.integer "viewed_count_local", :default => 0
|
|
|
|
|
t.string "url"
|
|
|
|
|
t.string "username"
|
|
|
|
|
t.string "userhomeurl"
|
|
|
|
@ -976,11 +976,10 @@ ActiveRecord::Schema.define(:version => 20140826072838) do
|
|
|
|
|
t.string "url"
|
|
|
|
|
t.string "title"
|
|
|
|
|
t.integer "share_type"
|
|
|
|
|
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.integer "project_id"
|
|
|
|
|
t.integer "user_id"
|
|
|
|
|
t.string "description"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "softapplications", :force => true do |t|
|
|
|
|
@ -1086,8 +1085,8 @@ ActiveRecord::Schema.define(:version => 20140826072838) do
|
|
|
|
|
t.integer "zip_code"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.string "technical_title"
|
|
|
|
|
t.integer "identity"
|
|
|
|
|
t.string "technical_title"
|
|
|
|
|
t.string "student_id"
|
|
|
|
|
t.string "teacher_realname"
|
|
|
|
|
t.string "student_realname"
|
|
|
|
@ -1145,6 +1144,9 @@ ActiveRecord::Schema.define(:version => 20140826072838) do
|
|
|
|
|
t.integer "active"
|
|
|
|
|
t.datetime "created_at", :null => false
|
|
|
|
|
t.datetime "updated_at", :null => false
|
|
|
|
|
t.integer "level"
|
|
|
|
|
t.integer "file"
|
|
|
|
|
t.integer "issue"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "user_statuses", :force => true do |t|
|
|
|
|
|