Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var mongoose = require('mongoose')
- var userSchema = new mongoose.Schema({
- username : {type: String},
- password : {type: String},
- salt : {type: String},
- first_name : {type: String},
- last_name : {type: String}
- });
- module.exports = mongoose.model("User", userSchema, "users");
Add Comment
Please, Sign In to add comment