aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/view/video-view.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/view/video-view.ts')
-rw-r--r--server/models/view/video-view.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/models/view/video-view.ts b/server/models/view/video-view.ts
index df462e631..1504a364e 100644
--- a/server/models/view/video-view.ts
+++ b/server/models/view/video-view.ts
@@ -3,6 +3,13 @@ import { AllowNull, BelongsTo, Column, CreatedAt, DataType, ForeignKey, Model, T
3import { AttributesOnly } from '@shared/typescript-utils' 3import { AttributesOnly } from '@shared/typescript-utils'
4import { VideoModel } from '../video/video' 4import { VideoModel } from '../video/video'
5 5
6/**
7 *
8 * Aggregate views of all videos federated with our instance
9 * Mainly used by the trending/hot algorithms
10 *
11 */
12
6@Table({ 13@Table({
7 tableName: 'videoView', 14 tableName: 'videoView',
8 updatedAt: false, 15 updatedAt: false,