Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const mongoose = require('mongoose');
- var Schema = mongoose.Schema;
- var userSchema = new Schema({
- userName: {
- type: String,
- unique: true
- },
- password: String,
- fullName: String,
- role: String
- });
- module.exports = userSchema
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement