diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-06 14:15:03 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-06 14:15:03 +0200 |
commit | be587647f98a4b83ca06a61fe55c7ac5d60927c6 (patch) | |
tree | 8a28a1cb9c9a06d80803ecd3fa00aa6767bb3f8b /server/models | |
parent | 8483b2216454afdb88f6aa53cad5eecd8c394bc0 (diff) | |
download | PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.tar.gz PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.tar.zst PeerTube-be587647f98a4b83ca06a61fe55c7ac5d60927c6.zip |
Add tags support to server
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/videos.js | 1 |
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 |