diff --git a/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js b/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js index b6182f91ca..f2a4c516c4 100644 --- a/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js +++ b/backend/web/server/plugins/entreprisedufutur/schemas/TableSchema.js @@ -13,6 +13,11 @@ const TableSchema = new Schema({ type: Number, required: [true, `Le nombre de places est obligatoire`] }, + partner: { + type: Schema.Types.ObjectId, + ref: 'user', + required: false + }, }, {...schemaOptions}) /* eslint-disable prefer-arrow-callback */