Skip to content

Commit

Permalink
EDF: [premieroctet#70] add capacity field to table schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-Wappizy committed Dec 9, 2024
1 parent 9535244 commit 75a58e5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 75a58e5

Please sign in to comment.