|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
#
|
|
|
|
|
# It's strongly recommended to check this file into your version control system.
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20140728014933) do
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20140730021521) do
|
|
|
|
|
|
|
|
|
|
create_table "activities", :force => true do |t|
|
|
|
|
|
t.integer "act_id", :null => false
|
|
|
|
@ -426,6 +426,7 @@ ActiveRecord::Schema.define(:version => 20140728014933) do
|
|
|
|
|
t.integer "image_width", :default => 107
|
|
|
|
|
t.integer "image_height", :default => 63
|
|
|
|
|
t.integer "show_course", :default => 1
|
|
|
|
|
t.integer "show_contest", :default => 1
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "forums", :force => true do |t|
|
|
|
|
@ -846,18 +847,18 @@ ActiveRecord::Schema.define(:version => 20140728014933) 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"
|
|
|
|
|