@dynamatix/gb-schemas 0.3.7 → 0.3.8

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.
@@ -6,6 +6,10 @@ const noteSchema = new mongoose.Schema({
6
6
  type: String,
7
7
  required: true
8
8
  },
9
+ createdOn: {
10
+ type: Date,
11
+ required: true
12
+ },
9
13
  createdBy: {
10
14
  type: Number,
11
15
  required: true
@@ -66,7 +70,7 @@ const noteSchema = new mongoose.Schema({
66
70
  type: String,
67
71
  default: 'None'
68
72
  },
69
- }, { timestamps: true });
73
+ });
70
74
 
71
75
  const ApplictionNoteModel = mongoose.model("ApplictionNote", noteSchema);
72
76
  export default ApplictionNoteModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "All the schemas for gatehouse bank back-end.",
5
5
  "main": "index.js",
6
6
  "scripts": {