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

var schema = new Schema({
	workNo: String,
	name: String,
	picPath: String,
	ip: String,
	phone: String,
	luckMan: String
});

mongoose.model('user', schema, 'user');
'use strict';
var mongoose = require('mongoose'),
	Schema = mongoose.Schema;

var schema = new Schema({
	workNo: String,
	name: String,
	picPath: String,
	ip: String,
	phone: String,
	luckMan: String
});

mongoose.model('user', schema);
modify mongodb collection