5 module.exports = function(sequelize, DataTypes) {
7 var Tag = sequelize.define('Tag', {
9 type: DataTypes.STRING,
16 description: DataTypes.STRING
19 associate: function(models) {
20 Tag.belongsToMany(models.ZendeskConfiguration, {
21 through: 'zendesk_configuration_has_tags'
23 Tag.addScope('configuration', {
28 // Tag.belongsToMany(models.Contact, {
29 // through: 'contact_tags'