X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Fvideos.js;h=13ef2295a6276e1e40e599d076fc3c3f030ea5a5;hb=0c1cbbfe29d91c95f9c574b57adf067654b8b5b4;hp=0141cbb7fe25963c8bb0fa2a3dfa819c59fecd6b;hpb=c9bf7d30bd688e84b12dca03029dde6e9645a997;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/videos.js b/server/models/videos.js index 0141cbb7f..13ef2295a 100644 --- a/server/models/videos.js +++ b/server/models/videos.js @@ -21,7 +21,8 @@ const videosSchema = mongoose.Schema({ namePath: String, description: String, magnetUri: String, - podUrl: String + podUrl: String, + author: String }) const VideosDB = mongoose.model('videos', videosSchema)