aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--models/pPost.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/pPost.js b/models/pPost.js
index c02f863..1ce50b2 100644
--- a/models/pPost.js
+++ b/models/pPost.js
@@ -17,7 +17,8 @@ var pPostSchema = new Schema({
file: { type: String, default: '', trim: true },
currency: { type: String, default: 'kr', trim: true },
created: { type: Date, default: Date.now },
- updated: { type: Date, default: Date.now }
+ updated: { type: Date, default: Date.now },
+ when: { type: Date, default: Date.now }
});