Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-09-19 00:57:20 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5985631703f07b0a8a356e988d0404bd4fbd2d9f
59856317
1 parent
465a19f7
fix. lowercase error
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/src/models/user.js
server/src/models/user.js
View file @
5985631
...
...
@@ -5,7 +5,7 @@ const jwt = require('jsonwebtoken');
const
Schema
=
mongoose
.
Schema
;
const
UserSchema
=
new
Schema
({
userId
:
{
type
:
String
,
required
:
true
,
unique
:
true
,
lowercase
:
true
,
},
userId
:
{
type
:
String
,
required
:
true
,
unique
:
true
,
},
hashedPassword
:
{
type
:
String
,
required
:
true
},
userTypeCd
:
{
type
:
String
,
required
:
true
,
default
:
'NORMAL'
},
useYn
:
{
type
:
String
,
default
:
'W'
,
required
:
true
,
},
...
...
Please
register
or
login
to post a comment