allowNull: false,
validate: {
notEmpty: true,
- is: /^[A-Za-z0-9]+$/i
+ is: /[A-Za-z0-9._\\+*!-]+/
}
},
description: DataTypes.STRING
Tag.belongsToMany(models.ZendeskConfiguration, {
through: 'zendesk_configuration_has_tags'
});
+ Tag.belongsToMany(models.FreshdeskConfiguration, {
+ through: 'int_freshdesk_configuration_has_tags'
+ });
Tag.addScope('configuration', {
include: [{
all: true