module.exports = (sequelize, Sequelize) => { const Voiture = sequelize.define("voitures", { nom: { type: Sequelize.STRING }, nbrPlace: { type: Sequelize.INTEGER }, }); return Voiture; };