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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "1.8.9",
3
+ "version": "1.9.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -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