diff --git a/backend/server/mongodb/models/User.ts b/backend/server/mongodb/models/User.ts index ea27bf1a..1ac4d719 100644 --- a/backend/server/mongodb/models/User.ts +++ b/backend/server/mongodb/models/User.ts @@ -19,10 +19,12 @@ const UserSchema = new mongoose.Schema({ annualPetVisitDay: { type: Date, required: true, + default: Date.now() }, address: { type: String, required: true, + default: "" }, firebaseUid: { type: String,