back-end done
This commit is contained in:
@@ -4,10 +4,9 @@ const AdminSchema = mongoose.Schema({
|
||||
name: String,
|
||||
username: String,
|
||||
password: String,
|
||||
roles: Array,
|
||||
created_at: String,
|
||||
updated_at: String,
|
||||
scope: String,
|
||||
scope: {type: String, default: 'admin'},
|
||||
token: String
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user