projects
/
oweals
/
peertube.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Server: use crypto instead of ursa for pod signature
[oweals/peertube.git]
/
server
/
models
/
video-tag.js
1
'use strict'
2
3
// ---------------------------------------------------------------------------
4
5
module.exports = function (sequelize, DataTypes) {
6
const VideoTag = sequelize.define('VideoTag', {}, {
7
indexes: [
8
{
9
fields: [ 'videoId' ]
10
},
11
{
12
fields: [ 'tagId' ]
13
}
14
]
15
})
16
17
return VideoTag
18
}