Commit 20a12d5e authored by 陈志良's avatar 陈志良

访问 log 模型修改

parent 9d0e06bd
......@@ -45,8 +45,9 @@ var ForumPVLogSchema = new Schema({
index: true
},
p_thread: { //父文章ID
type: Number,
index: true
type: String,
index: true,
ref: 'forumThread'
},
source: { //分享者
type: String,
......
......@@ -45,8 +45,9 @@ var ForumUVLogSchema = new Schema({
index: true
},
p_thread: { //父文章ID
type: Number,
index: true
type: String,
index: true,
ref: 'forumThread'
},
source: { //分享者
type: String,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment