tellform/app/models/base.server.model.js
2015-08-04 14:06:16 -07:00

24 lines
446 B
JavaScript

// var mongoose = require('mongoose'),
// Schema = mongoose.Schema,
// shortid = require('shortid');
// var ObjectId = Schema.ObjectId;
// var BaseSchema = function() {
// Schema.apply(this, arguments);
// this.add({
// created: {
// type: Date,
// default: Date.now
// },
// lastModified: {
// type: Date,
// },
// _id: {
// type: String,
// unique: true,
// 'default': shortid.generate
// },
// });
// }