Skip to content
Snippets Groups Projects
Commit 33713009 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Add client model

parent 9b62d840
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!73Workerpool feature
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
let Client = new Schema({
name: {
type: String,
unique: true,
required: true
},
clientSecret: {
type: String,
required: true,
unique: true
}
});
module.exports = mongoose.model('Client', Client);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment