3 // ---------------------------------------------------------------------------
5 module.exports = function (sequelize, DataTypes) {
6 const Tag = sequelize.define('Tag',
9 type: DataTypes.STRING,
30 // ---------------------------------------------------------------------------
32 function associate (models) {
33 this.belongsToMany(models.Video, {
35 through: models.VideoTag,