Revert "fix: opendb-verify-codes device_uuid -> deviceId"

This reverts commit 77f0029c72.
This commit is contained in:
DCloud_LXH 2022-10-13 15:34:24 +08:00
parent 77f0029c72
commit 89c2a6672b

View File

@ -14,10 +14,10 @@
"bsonType": "string",
"description": "邮箱"
},
"deviceId": {
"bsonType": "string",
"description": "设备ID常用于图片验证码"
},
"device_uuid": {
"bsonType": "string",
"description": "设备UUID常用于图片验证码"
},
"code": {
"bsonType": "string",
"description": "验证码"
@ -69,10 +69,10 @@
"MgoIsUnique": false
}
}, {
"IndexName": "device_id_code_",
"IndexName": "device_uuid_code_",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "deviceId",
"Name": "device_uuid",
"Direction": "1"
}, {
"Name": "code",