Skip to content

Commit db13630

Browse files
committed
Update usermodel and gitignore
Route user objects created to user collections in Question-User-DB and add .env file to gitignore
1 parent ea5836c commit db13630

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Backend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
QuestionService/.env
2+
user-service/.env
23
QuestionService/insert_questions_script.py
34

45
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

Backend/user-service/model/user-model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ const UserModelSchema = new Schema({
2828
},
2929
});
3030

31-
export default mongoose.model("UserModel", UserModelSchema);
31+
export default mongoose.model("UserModel", UserModelSchema, "Users");

0 commit comments

Comments
 (0)