payservedb 1.3.5 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -6,6 +6,11 @@ const visitLogSchema = new mongoose.Schema({
6
6
  type: String,
7
7
  required: true
8
8
  },
9
+ visitorId: {
10
+ type: mongoose.Schema.Types.ObjectId,
11
+ ref: 'Visitor',
12
+ required: true
13
+ },
9
14
  residentName: {
10
15
  type: String,
11
16
  required: false
@@ -43,9 +48,9 @@ const visitLogSchema = new mongoose.Schema({
43
48
  required: false
44
49
 
45
50
  },
46
- visitationCodeExpiration:{
47
- type:Date,
48
- required:false
51
+ visitationCodeExpiration: {
52
+ type: Date,
53
+ required: false
49
54
  },
50
55
  facilityId: {
51
56
  type: mongoose.Schema.Types.ObjectId,