auction.js 322 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 module.exports = (sequelize, DataTypes) => ( sequelize.define('auction', { bid: { type: DataTypes.INTEGER, allowNull: false, defaultValue: 0, }, msg: { type: DataTypes.STRING(100), allowNull: true, }, }, { timestamps: true, paranoid: true, }) );