From 70a8c62fa7873fef97d3ab6465ff6300fd450b90 Mon Sep 17 00:00:00 2001 From: linju Date: Mon, 23 Oct 2023 16:23:51 +0800 Subject: [PATCH] Create unicloud-test.schema.json --- .../database/unicloud-test.schema.json | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 uniCloud-aliyun/database/unicloud-test.schema.json diff --git a/uniCloud-aliyun/database/unicloud-test.schema.json b/uniCloud-aliyun/database/unicloud-test.schema.json new file mode 100644 index 0000000..2f10c54 --- /dev/null +++ b/uniCloud-aliyun/database/unicloud-test.schema.json @@ -0,0 +1,27 @@ +// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema +{ + "bsonType": "object", + "required": [], + "permission": { + "read": false, + "create": false, + "update": false, + "delete": false + }, + "properties": { + "_id": { + "description": "ID,系统自动生成" + }, + "product": { + "description": "产品名称", + "bsonType": "string" + }, + "create_time": { + "description": "创建时间", + "bsonType": "timestamp", + "defaultValue":{ + "$env": "now" + } + } + } +} \ No newline at end of file -- GitLab