mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-06-27 16:00:04 +08:00
bd8b510a73
removed personal details
12 lines
337 B
JavaScript
12 lines
337 B
JavaScript
var mongoose = require('mongoose');
|
|
|
|
var userSchema = mongoose.Schema({
|
|
google : {
|
|
id : String,
|
|
token : String,
|
|
email : String,
|
|
name : String
|
|
}
|
|
});
|
|
// create the model for users and expose it to our app
|
|
module.exports = mongoose.model('User', userSchema); |