@positivegrid/pg-mongoose-schema 27.4.0 → 27.4.1

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.
@@ -530,7 +530,7 @@ module.exports = function (mongoose) {
530
530
  store_code: { type: String, required: true },
531
531
  status: { type: Number, default: 1, required: true }, // 1:wait for apply/2:applied/3:deleted
532
532
  created_on: { type: Date, default: Date.now, required: true },
533
- })
533
+ }, { collection: 'yotpo_loyalty_backup' })
534
534
  YotpoLoyaltyBackupSchema.index({ email: 1, store_code: 1 }, { unique: true })
535
535
 
536
536
  mongoose.model('LicenseCampaignMeta', LicenseCampaignMetaSchema)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@positivegrid/pg-mongoose-schema",
3
- "version": "27.4.0",
3
+ "version": "27.4.1",
4
4
  "description": "Positive Grid mongoose schema",
5
5
  "author": "Ferrari Lee <shiyung@positivegrid.com>",
6
6
  "homepage": "https://git.positivegrid.com:8443/backend/pg-mongoose-schema",