/
home
/
infinitibizsol
/
.trash
/
models.2
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/models.2/UserSubscriptionAuctioneer.js
module.exports = (sequelize, DataTypes) => { const UserSubAuctioneer = sequelize.define( "tblUserSubAuctioneer", { subscription_id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, }, user_id: { type: DataTypes.INTEGER, allowNull: false, validate: { notNull: { args: true, msg: "The user_id cannot be null", }, }, }, auctioneer_id: { type: DataTypes.INTEGER, allowNull: false, validate: { notNull: { args: true, msg: "The auctioneer_id cannot be null", }, }, }, start_date: { type: DataTypes.DATE, allowNull: true }, expiration_date: { type: DataTypes.DATE, allowNull: true }, }, { timestamps: true, } ); return UserSubAuctioneer; };
Copyright ©2k19 -
Hexid
|
Tex7ure