]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - server/models/video-tag.js
Server: move remote routes in their own directory
[github/Chocobozzz/PeerTube.git] / server / models / video-tag.js
... / ...
CommitLineData
1'use strict'
2
3// ---------------------------------------------------------------------------
4
5module.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}