Skip to content

Commit

Permalink
Merge pull request #95 from Arquisoft/dev_score
Browse files Browse the repository at this point in the history
User model updated to add new categories
  • Loading branch information
ChristianFN2 authored Apr 7, 2024
2 parents 6868c1c + 73fed47 commit 3dc844c
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 3dc844c

Please sign in to comment.