diff --git a/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js b/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js index 23c7ab3892..b6182f91ca 100644 --- a/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js +++ b/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js @@ -9,6 +9,10 @@ const TableSchema = new Schema({ ref: 'tablemap', required: [true, `Le plan de table de la table est obligatoire`] }, + capacity: { + type: Number, + required: [true, `Le nombre de places est obligatoire`] + }, }, {...schemaOptions}) /* eslint-disable prefer-arrow-callback */