UNPKG

@speakr/speakr-module-services

Version:
33 lines (30 loc) 709 B
/* jshint indent: 2 */ module.exports = function(sequelize, DataTypes) { let accounts_offer_prices = sequelize.define('accounts_offer_prices', { id: { type: DataTypes.INTEGER, allowNull: false, primaryKey: true, autoIncrement: true }, account_id: { type: DataTypes.INTEGER, allowNull: true, }, min_offer_price: DataTypes.FLOAT, fair_offer_price: DataTypes.FLOAT, created_at: { type: DataTypes.DATE, allowNull: true }, updated_at: { type: DataTypes.DATE, allowNull: true } }, { tableName: 'accounts_offer_prices', underscored: true, timestamps: false }); return accounts_offer_prices; };