From 0926af7acc130170feef43d5f6d39c68e479a033 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 4 Sep 2018 15:25:02 +0200 Subject: [PATCH] Add index to startDate in video view table --- server/models/video/video-views.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/models/video/video-views.ts b/server/models/video/video-views.ts index 90ce671fd..fde5f7056 100644 --- a/server/models/video/video-views.ts +++ b/server/models/video/video-views.ts @@ -7,6 +7,9 @@ import * as Sequelize from 'sequelize' indexes: [ { fields: [ 'videoId' ] + }, + { + fields: [ 'startDate' ] } ] }) -- 2.41.0