Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add comment to video source columns

Chocobozzzc5c1521c4a9e
diff --git a/server/core/models/video/video-source.ts b/server/core/models/video/video-source.ts
index 61af15e2d1..fb352a61b5 100644
--- a/server/core/models/video/video-source.ts
+++ b/server/core/models/video/video-source.ts
@@ -31,10 +31,13 @@ export class VideoSourceModel extends SequelizeModel<VideoSourceModel> {
@UpdatedAt
declare updatedAt: Date
+ // The name of the uploaded file
@AllowNull(false)
@Column
declare inputFilename: string
+ // The name of the file stored on disk
+ // null means we don't have the file
@AllowNull(true)
@Column
declare keptOriginalFilename: string