mirror of https://github.com/Chocobozzz/PeerTube
Add index to startDate in video view table
parent
1a893f9c70
commit
0926af7acc
|
@ -7,6 +7,9 @@ import * as Sequelize from 'sequelize'
|
|||
indexes: [
|
||||
{
|
||||
fields: [ 'videoId' ]
|
||||
},
|
||||
{
|
||||
fields: [ 'startDate' ]
|
||||
}
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue