mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-26 09:02:33 +00:00
almost rebased
This commit is contained in:
9
chapter25/02_user_schema.js
Normal file
9
chapter25/02_user_schema.js
Normal file
@@ -0,0 +1,9 @@
|
||||
var mongoose = require('mongoose');
|
||||
|
||||
var UserSchema = new mongoose.Schema({
|
||||
username: String,
|
||||
name: String,
|
||||
password: String
|
||||
});
|
||||
|
||||
module.exports = UserSchema;
|
||||
Reference in New Issue
Block a user