format code opendb-feedback

This commit is contained in:
handongxun 2020-11-23 17:22:09 +08:00
parent 9be617fb97
commit 4504a79e1a

View File

@ -14,7 +14,7 @@
"bsonType": "timestamp", "bsonType": "timestamp",
"description": "留言时间/回复留言时间" "description": "留言时间/回复留言时间"
}, },
"content": { "content": {
"bsonType": "string", "bsonType": "string",
"description": "留言内容/回复内容" "description": "留言内容/回复内容"
}, },
@ -44,36 +44,35 @@
} }
} }
}, },
"index": [ "index": [{
{ "IndexName": "uid",
"IndexName": "uid", "MgoKeySchema": {
"MgoKeySchema": { "MgoIndexKeys": [{
"MgoIndexKeys": [{ "Name": "uid",
"Name": "uid", "Direction": "1"
"Direction": "1" }],
}], "MgoIsUnique": false
"MgoIsUnique": false }
} },
}, {
{ "IndexName": "is_reply",
"IndexName": "is_reply", "MgoKeySchema": {
"MgoKeySchema": { "MgoIndexKeys": [{
"MgoIndexKeys": [{ "Name": "is_reply",
"Name": "is_reply", "Direction": "1"
"Direction": "1" }],
}], "MgoIsUnique": false
"MgoIsUnique": false }
} },
}, {
{ "IndexName": "create_time",
"IndexName": "create_time", "MgoKeySchema": {
"MgoKeySchema": { "MgoIndexKeys": [{
"MgoIndexKeys": [{ "Name": "create_time",
"Name": "create_time", "Direction": "1"
"Direction": "1" }],
}], "MgoIsUnique": false
"MgoIsUnique": false }
} }
}
] ]
} }