From b6008daf10d92e059204027beac8e06ea4d193c1 Mon Sep 17 00:00:00 2001 From: linju Date: Mon, 25 Nov 2024 11:50:52 +0800 Subject: [PATCH] Create opendb-tempdata.schema.json --- .../database/opendb-tempdata.schema.json | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 uni_modules/uni-id-pages/uniCloud/database/opendb-tempdata.schema.json diff --git a/uni_modules/uni-id-pages/uniCloud/database/opendb-tempdata.schema.json b/uni_modules/uni-id-pages/uniCloud/database/opendb-tempdata.schema.json new file mode 100644 index 0000000..1b4f191 --- /dev/null +++ b/uni_modules/uni-id-pages/uniCloud/database/opendb-tempdata.schema.json @@ -0,0 +1,26 @@ +{ + "bsonType": "object", + "required": [ + "value", + "expired" + ], + "permission": { + "read": false, + "create": false, + "update": false, + "delete": false + }, + "properties": { + "_id": { + "description": "ID,系统自动生成" + }, + "value": { + "description": "值" + }, + "expired": { + "description": "过期时间", + "bsonType": "timestamp" + } + }, + "version": "0.0.1" +} \ No newline at end of file -- GitLab