diff --git a/uniCloud-aliyun/database/unicloud-test.schema.json b/uniCloud-aliyun/database/unicloud-test.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..2f10c544652a8435f779e4785563f2e8f0a94c8b --- /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