sporttery_lineups.ts 679 字节
/* jshint indent: 2 */

module.exports = function(sequelize:any, DataTypes:any) {
  return sequelize.define('sporttery_lineups', {
    id: {
      type: DataTypes.BIGINT,
      allowNull: false,
      primaryKey: true,
      autoIncrement: true
    },
    created_at: {
      type: DataTypes.DATE,
      allowNull: true
    },
    update_at: {
      type: DataTypes.DATE,
      allowNull: true
    },
    sporttery_id: {
      type: DataTypes.INTEGER(11),
      allowNull: true
    },
    match_time: {
      type: DataTypes.DATE,
      allowNull: true
    },
    body: {
      type: DataTypes.JSON,
      allowNull: true
    }
  }, {
    tableName: 'sporttery_lineups'
  });
};