From f1845a9bcc16ece7e1b2fd27224768cf9b507b68 Mon Sep 17 00:00:00 2001 From: Bastien Seree Date: Mon, 26 Aug 2024 15:46:05 +0200 Subject: [PATCH] [#45] Add looking_for_opportunities attribute to user --- backend/web/server/plugins/cyberleague/schemas/UserSchema.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/web/server/plugins/cyberleague/schemas/UserSchema.js b/backend/web/server/plugins/cyberleague/schemas/UserSchema.js index e7ee7b97bf..f60bd2fca7 100644 --- a/backend/web/server/plugins/cyberleague/schemas/UserSchema.js +++ b/backend/web/server/plugins/cyberleague/schemas/UserSchema.js @@ -118,6 +118,10 @@ const UserSchema = new Schema({ searched_job: { type: String, required: false + }, + looking_for_opportunities: { + type: Boolean, + required: false } }, {...schemaOptions, ...DISCRIMINATOR_KEY})