const mongoose = require('mongoose') const UserSchema = mongoose.Schema({ username: String, password: String, scope: {type: Array, default: ['user']}, token: String, }) module.exports = mongoose.model('User', UserSchema)