aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/videos.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/videos.js b/server/models/videos.js
index 7bd41f7ee..f4658c371 100644
--- a/server/models/videos.js
+++ b/server/models/videos.js
@@ -21,6 +21,7 @@ const videosSchema = mongoose.Schema({
21 author: String, 21 author: String,
22 duration: Number, 22 duration: Number,
23 thumbnail: String, 23 thumbnail: String,
24 tags: [ String ],
24 createdDate: { 25 createdDate: {
25 type: Date, 26 type: Date,
26 default: Date.now 27 default: Date.now