@pintahub/database-schemas 1.4.3 → 1.4.4

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": "@pintahub/database-schemas",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -105,6 +105,12 @@ const Product = new Schema({
105
105
  default: Date.now
106
106
  },
107
107
 
108
+ views_count: {
109
+ type: Number,
110
+ default: 0,
111
+ index: true,
112
+ },
113
+
108
114
  updated_at: {
109
115
  type: Date,
110
116
  default: Date.now