Add index to startDate in video view table

pull/1020/head
Chocobozzz 2018-09-04 15:25:02 +02:00
parent 1a893f9c70
commit 0926af7acc
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ import * as Sequelize from 'sequelize'
indexes: [
{
fields: [ 'videoId' ]
},
{
fields: [ 'startDate' ]
}
]
})