4 module.exports = function(sequelize, DataTypes) {
6 var MailServerOut = sequelize.define('MailServerOut', {
7 description: DataTypes.STRING,
8 host: DataTypes.STRING,
10 type: DataTypes.STRING,
13 password: DataTypes.STRING,
14 port: DataTypes.INTEGER,
16 type: DataTypes.BOOLEAN,
20 type: DataTypes.ENUM('CONNECTING', 'CONNECTED', 'DISCONNECTED', 'ERROR', 'UNKNOWN'),
21 defaultValue: 'UNKNOWN'
23 source: DataTypes.STRING
25 tableName: 'mail_servers_out'