mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 06:21:14 +08:00
update opendb-feedback
This commit is contained in:
parent
71b08fdada
commit
9b9a64b0a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user