update: opendb-contct 增加字段 create_date 创建日期,移除默认测试数据

This commit is contained in:
handongxun 2021-06-24 11:04:31 +08:00
parent 0dfbb63b1c
commit a416dbe01d
2 changed files with 7 additions and 1 deletions

View File

@ -64,6 +64,13 @@
"component": {
"name": "textarea"
}
},
"create_date": {
"bsonType": "timestamp",
"description": "创建时间",
"forceDefaultValue": {
"$env": "now"
}
}
}
},

View File

@ -1 +0,0 @@
[{"username":"张三","gender":1,"mobile":"01011111111","email":"test@dcloud.io","comment":""},{"username":"李四","gender":1,"mobile":"01011111112","email":"","comment":""},{"username":"王五","gender":1,"mobile":"01011111113","email":"","comment":""}]