This website works better with JavaScript.
홈
탐색
도움말
가입하기
로그인
stefan.stamenovic
/
diligent-node-api
보기
2
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
Activity
소스 검색
User model minor changes
pull/16/head
Djordje Djoric
3 년 전
부모
4ce06e06f8
커밋
1e2890a7c5
1개의 변경된 파일
과
4개의 추가작업
그리고
3개의 파일을 삭제
분할 보기
변경상태 보기
4
3
src/models/user.js
+ 4
- 3
src/models/user.js
파일 보기
@@ -9,15 +9,16 @@ const userSchema = new mongoose.Schema({
type: String
},
email: {
type: String
type: String,
required: true
},
password: {
type: String
type: String,
required: true
},
tokens: [{
token: {
type: String,
required: true
}
}]
})
Write
Preview
Loading…
취소
저장