UNPKG

@speakr/speakr-module-services

Version:
39 lines (37 loc) 728 B
module.exports = function(sequelize, DataTypes) { let mandrill = sequelize.define('mandrill', { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true }, type: { type: DataTypes.STRING, allowNull: false }, type_id: { type: DataTypes.INTEGER, allowNull: true }, created_at: { type: DataTypes.DATE, allowNull: false }, updated_at: { type: DataTypes.DATE, allowNull: false }, status: { type: DataTypes.STRING, allowNull: false }, message_id: { type: DataTypes.STRING, allowNull: true }, }, { underscored: true }); return mandrill; };