Ajout de la galerie d'images

This commit is contained in:
Damien Broqua 2018-09-16 23:46:39 +02:00
parent 4b9bed8926
commit b3dc18e57d
5 changed files with 265 additions and 16 deletions

View file

@ -13,7 +13,7 @@ module.exports = {
order: {
type: Sequelize.INTEGER
},
vegetablesId: {
vegetableId: {
type: Sequelize.INTEGER,
references: { model: 'vegetables', key: 'id' }
},