Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -5,7 +5,7 @@ const jwt = require('jsonwebtoken'); | ... | @@ -5,7 +5,7 @@ const jwt = require('jsonwebtoken'); |
5 | const Schema = mongoose.Schema; | 5 | const Schema = mongoose.Schema; |
6 | 6 | ||
7 | const UserSchema = new Schema ({ | 7 | const UserSchema = new Schema ({ |
8 | - userId : { type: String, required : true, unique : true, lowercase : true, }, | 8 | + userId : { type: String, required : true, unique : true, }, |
9 | hashedPassword : { type : String, required : true }, | 9 | hashedPassword : { type : String, required : true }, |
10 | userTypeCd : { type : String, required : true, default : 'NORMAL' }, | 10 | userTypeCd : { type : String, required : true, default : 'NORMAL' }, |
11 | useYn : { type : String, default : 'W', required : true, }, | 11 | useYn : { type : String, default : 'W', required : true, }, | ... | ... |
-
Please register or login to post a comment