mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
update opendb-feedback
This commit is contained in:
parent
71b08fdada
commit
9b9a64b0a3
@ -6,11 +6,12 @@
|
|||||||
"_id": {
|
"_id": {
|
||||||
"description": "ID,系统自动生成"
|
"description": "ID,系统自动生成"
|
||||||
},
|
},
|
||||||
"uid": {
|
"user_id": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "留言反馈用户ID/回复留言用户ID,参考uni-id-users表"
|
"description": "留言反馈用户ID/回复留言用户ID,参考uni-id-users表",
|
||||||
|
"foreignKey":"uni-id-users._id"
|
||||||
},
|
},
|
||||||
"create_time": {
|
"create_date": {
|
||||||
"bsonType": "timestamp",
|
"bsonType": "timestamp",
|
||||||
"description": "留言时间/回复留言时间"
|
"description": "留言时间/回复留言时间"
|
||||||
},
|
},
|
||||||
@ -48,30 +49,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"index": [{
|
"index": [{
|
||||||
"IndexName": "uid",
|
"IndexName": "_user_id",
|
||||||
"MgoKeySchema": {
|
"MgoKeySchema": {
|
||||||
"MgoIndexKeys": [{
|
"MgoIndexKeys": [{
|
||||||
"Name": "uid",
|
"Name": "user_id",
|
||||||
"Direction": "1"
|
|
||||||
}],
|
|
||||||
"MgoIsUnique": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"IndexName": "is_reply",
|
|
||||||
"MgoKeySchema": {
|
|
||||||
"MgoIndexKeys": [{
|
|
||||||
"Name": "is_reply",
|
|
||||||
"Direction": "1"
|
|
||||||
}],
|
|
||||||
"MgoIsUnique": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"IndexName": "create_time",
|
|
||||||
"MgoKeySchema": {
|
|
||||||
"MgoIndexKeys": [{
|
|
||||||
"Name": "create_time",
|
|
||||||
"Direction": "1"
|
"Direction": "1"
|
||||||
}],
|
}],
|
||||||
"MgoIsUnique": false
|
"MgoIsUnique": false
|
||||||
|
Loading…
Reference in New Issue
Block a user