flykup_model_development 3.1.11 → 3.1.12

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.
@@ -133,6 +133,8 @@ totalReviews: { type: Number, default: 0 }
133
133
  },
134
134
  { timestamps: true }
135
135
  );
136
+ ProductListingSchema.index({ title: 'text', description: 'text', category: 'text' });
137
+
136
138
 
137
139
  // Safe export to prevent OverwriteModelError
138
140
  const ProductListing = mongoose.models.productlistings || mongoose.model("productlistings", ProductListingSchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.11",
3
+ "version": "3.1.12",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,