'use strict';

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

var User = new Schema({
	name: String,
	email: String,
	password: String,
	date: Date,
	city: String,
	state: String,
	movies: Array
});

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

'use strict';

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

var User = new Schema({
	name: String,
	email: String,
	password: String,
	date: Date,
	city: String,
	state: String,
	gender: Number,
	notify: Boolean,
	movies: Array
});

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

Add properties to user model
Add properties to user model
