Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이세진
/
dev-profile
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
10
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Lee SeJin
2021-06-16 22:11:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c6faddb55f343cc41383244d55760267947fc1ee
c6faddb5
1 parent
a28efd57
Update User model
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/models/User.js
src/models/User.js
View file @
c6faddb
...
...
@@ -4,10 +4,13 @@ const UserSchema = new mongoose.Schema({
name
:
{
type
:
String
,
trim
:
true
,
sparse
:
true
},
email
:
{
type
:
String
,
trim
:
true
trim
:
true
,
unique
:
true
,
sparse
:
true
},
avatarUrl
:
String
,
githubId
:
{
...
...
Please
register
or
login
to post a comment