@cendo/database-schemas 1.8.5 → 1.8.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 +1 -1
- package/schemas/Order.js +11 -0
package/package.json
CHANGED
package/schemas/Order.js
CHANGED
|
@@ -49,6 +49,11 @@ const Order = new Schema({
|
|
|
49
49
|
trim: true,
|
|
50
50
|
},
|
|
51
51
|
|
|
52
|
+
external_note: {
|
|
53
|
+
type: String,
|
|
54
|
+
trim: true,
|
|
55
|
+
},
|
|
56
|
+
|
|
52
57
|
payment_method: {
|
|
53
58
|
type: String,
|
|
54
59
|
trim: true,
|
|
@@ -131,6 +136,12 @@ const Order = new Schema({
|
|
|
131
136
|
default: []
|
|
132
137
|
},
|
|
133
138
|
|
|
139
|
+
tags: {
|
|
140
|
+
type: [String],
|
|
141
|
+
default: [],
|
|
142
|
+
index: true
|
|
143
|
+
},
|
|
144
|
+
|
|
134
145
|
updated_at: {
|
|
135
146
|
type: Date,
|
|
136
147
|
default: Date.now
|