X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fmodels%2Fint_sugarcrm_field.js;h=dd23ed502be8c5e22109f7ea1c79667d6bf83f03;hb=070e791ef46356c73c547280361ca0b89d270980;hp=635771c2c9ca135abea6cfb329a0ce73ac9afa86;hpb=569acfd3711895e879280342cb42effbcba5e3d0;p=motion.git diff --git a/server/models/int_sugarcrm_field.js b/server/models/int_sugarcrm_field.js index 635771c..dd23ed5 100644 --- a/server/models/int_sugarcrm_field.js +++ b/server/models/int_sugarcrm_field.js @@ -3,16 +3,17 @@ module.exports = function(sequelize, DataTypes) { return sequelize.define('SugarcrmField', { type: { - type: DataTypes.ENUM('string', 'variable', 'key_value'), + type: DataTypes.ENUM('string', 'variable', 'customVariable', 'keyValue'), defaultValue: 'string' }, content: DataTypes.STRING, key: DataTypes.STRING, keyType: { - type: DataTypes.ENUM('string', 'variable') + type: DataTypes.ENUM('string', 'variable', 'customVariable') }, keyContent: DataTypes.STRING, - idField: DataTypes.STRING + idField: DataTypes.STRING, + variableName: DataTypes.STRING }, { tableName: 'int_sugarcrm_fields', associate: function(models) {