'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var UserSchema = new Schema({
    email: String,
    password: String,
	phone: Number,
	name: String,
    token: String
});

module.exports = mongoose.model('User', UserSchema);
'use strict';
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var UserSchema = new Schema({
    email: String,
    password: String,
	phone: Number,
	name: String,
    blog: String,
    token: String
});

module.exports = mongoose.model('User', UserSchema);
modify schema