@pintahub/database-schemas 1.6.0 → 1.6.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schemas/Product.js +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/database-schemas",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -144,11 +144,23 @@ const Product = new Schema({
144
144
  index: true,
145
145
  },
146
146
 
147
+ code: {
148
+ type: String,
149
+ trim: true,
150
+ index: true,
151
+ },
152
+
147
153
  user_idea: {
148
154
  type: String,
149
155
  trim: true,
150
156
  },
151
157
 
158
+ visibility: {
159
+ type: String,
160
+ trim: true,
161
+ index: true,
162
+ },
163
+
152
164
  updated_at: {
153
165
  type: Date,
154
166
  default: Date.now