front-end almost done | started back-end
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
const mongoose = require('mongoose')
|
||||
|
||||
const AdminSchema = mongoose.Schema({
|
||||
name: String,
|
||||
username: String,
|
||||
password: String,
|
||||
roles: Array,
|
||||
created_at: String,
|
||||
updated_at: String,
|
||||
scope: String,
|
||||
token: String
|
||||
})
|
||||
|
||||
module.exports = mongoose.model('Admin', AdminSchema)
|
||||
Reference in New Issue
Block a user