添加临时数据记录表

This commit is contained in:
linju 2022-06-01 19:16:38 +08:00
parent b70070aec1
commit 306f2c8b5d
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{
"schema": {
"bsonType": "object",
"required": ["value", "expired"],
"permission": {
"read": false,
"create": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"value": {
"description": "值"
},
"expired": {
"description": "过期时间"
}
}
},
"index": []
}

View File

@ -0,0 +1,17 @@
{
"name": "@opendb/opendb-tempdata",
"version": "0.0.1",
"description": "一般用于存储临时令牌uni-push的token微信的access_token等",
"keywords": ["access_token","uni-push"],
"opendb": {
"title": "临时数据记录表",
"type": "collection",
"contributors": [
{
"name": "DCloud_JSON",
"email": "",
"homepage": "https://gitee.com/dcloud/opendb"
}
]
}
}