Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/models.1/
Upload File :
Current File : /home/infinitibizsol/.trash/models.1/Opportunity.js

module.exports = (sequelize, DataTypes) => {
  const Opportunity = sequelize.define(
    "tblOpportunity",
    {
      opportunity_id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true,
      },
      week_id: {
        type: DataTypes.INTEGER,
        allowNull: true,
      },
      auctioneer_id: {
        type: DataTypes.INTEGER,
        allowNull: true,
      },
      user_id: {
        type: DataTypes.INTEGER,
        allowNull: true,
      },
      date: {
        type: DataTypes.STRING,
        allowNull: true,
      },
    },
    {
      timestamps: true,
    }
  );

  return Opportunity;
};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists