payservedb 1.8.9 → 1.9.0
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 +1 -1
- package/src/models/customer.js +0 -12
package/package.json
CHANGED
package/src/models/customer.js
CHANGED
|
@@ -57,10 +57,6 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
57
57
|
|
|
58
58
|
familyMembers: [
|
|
59
59
|
{
|
|
60
|
-
_id: {
|
|
61
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
62
|
-
auto: true // Automatically create an ObjectId for each family member
|
|
63
|
-
},
|
|
64
60
|
name: {
|
|
65
61
|
type: String,
|
|
66
62
|
required: false,
|
|
@@ -81,10 +77,6 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
81
77
|
],
|
|
82
78
|
staff: [
|
|
83
79
|
{
|
|
84
|
-
_id: {
|
|
85
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
86
|
-
auto: true
|
|
87
|
-
},
|
|
88
80
|
name: {
|
|
89
81
|
type: String,
|
|
90
82
|
required: false,
|
|
@@ -105,10 +97,6 @@ const CustomerSchema = new mongoose.Schema({
|
|
|
105
97
|
],
|
|
106
98
|
vehicles: [
|
|
107
99
|
{
|
|
108
|
-
_id: {
|
|
109
|
-
type: mongoose.Schema.Types.ObjectId,
|
|
110
|
-
auto: true
|
|
111
|
-
},
|
|
112
100
|
registration: {
|
|
113
101
|
type: String,
|
|
114
102
|
required: false
|