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

访问 log 模型修改

parent 9d0e06bd
...@@ -45,8 +45,9 @@ var ForumPVLogSchema = new Schema({ ...@@ -45,8 +45,9 @@ var ForumPVLogSchema = new Schema({
index: true index: true
}, },
p_thread: { //父文章ID p_thread: { //父文章ID
type: Number, type: String,
index: true index: true,
ref: 'forumThread'
}, },
source: { //分享者 source: { //分享者
type: String, type: String,
......
...@@ -45,8 +45,9 @@ var ForumUVLogSchema = new Schema({ ...@@ -45,8 +45,9 @@ var ForumUVLogSchema = new Schema({
index: true index: true
}, },
p_thread: { //父文章ID p_thread: { //父文章ID
type: Number, type: String,
index: true index: true,
ref: 'forumThread'
}, },
source: { //分享者 source: { //分享者
type: String, 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