update opendb-feedback

This commit is contained in:
崔红保 2021-01-27 17:59:24 +08:00
parent 71b08fdada
commit 9b9a64b0a3

View File

@ -6,11 +6,12 @@
"_id": {
"description": "ID系统自动生成"
},
"uid": {
"user_id": {
"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",
"description": "留言时间/回复留言时间"
},
@ -48,30 +49,10 @@
}
},
"index": [{
"IndexName": "uid",
"IndexName": "_user_id",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "uid",
"Direction": "1"
}],
"MgoIsUnique": false
}
},
{
"IndexName": "is_reply",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "is_reply",
"Direction": "1"
}],
"MgoIsUnique": false
}
},
{
"IndexName": "create_time",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "create_time",
"Name": "user_id",
"Direction": "1"
}],
"MgoIsUnique": false