const Sequelize = require('sequelize'); const db = require("../config/database"); module.exports = db.define("inventorys", { clientID: { type: Sequelize.STRING, allowNull: false }, articleID: { type: Sequelize.STRING, allowNull: false }, articleExtras: { type: Sequelize.JSON, allowNull: true }, expiry_date: { type: Sequelize.DATE, allowNull: false } })