Skip to content

Commit

Permalink
User model updated to add new categories
Browse files Browse the repository at this point in the history
  • Loading branch information
uo287841 committed Apr 7, 2024
1 parent 6868c1c commit 73fed47
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion users/userservice/user-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,26 @@ const userSchema = new mongoose.Schema({
},
},

food: {
tourist_attractions: {
points: {
type: Number,
default: 0,
},
questions: {
type: Number,
default: 0,
},
correct: {
type: Number,
default: 0,
},
wrong: {
type: Number,
default: 0,
},
},

foods: {
points: {
type: Number,
default: 0,
Expand Down

0 comments on commit 73fed47

Please sign in to comment.