]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/models/tag.js
874e88842c106f6714aea6f83effeee3e75cd497
3 // ---------------------------------------------------------------------------
5 module
.exports = function (sequelize
, DataTypes
) {
6 const Tag
= sequelize
.define('Tag',
22 // ---------------------------------------------------------------------------
24 function associate (models
) {
25 this.belongsToMany(models
.Video
, {
27 through: models
.VideoTag
,