@positivegrid/pg-mongoose-schema 27.4.3 → 27.4.5

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.
@@ -520,7 +520,7 @@ module.exports = function (mongoose) {
520
520
  points_earned: { type: Number, default: 0, required: true },
521
521
  }],
522
522
  history: [{
523
- created_on: { type: String, required: true },
523
+ created_at: { type: String, required: true },
524
524
  date: { type: String, required: true },
525
525
  completed_on: { type: String, default: null },
526
526
  action: { type: String, default: null },
package/models/user.js CHANGED
@@ -63,6 +63,7 @@ module.exports = function (mongoose) {
63
63
  is_email_verified: { type: Boolean, default: false },
64
64
  is_registered: { type: Boolean, default: true },
65
65
  stripe_customer_id: { type: String, default: null },
66
+ selected_country: { type: String, default: null },
66
67
  date_joined: { type: Date, default: Date.now },
67
68
  search_mark: { type: Number, default: 0 } // control the order of search
68
69
  }, { collection: 'jamup_userprofile' })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@positivegrid/pg-mongoose-schema",
3
- "version": "27.4.3",
3
+ "version": "27.4.5",
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",