This commit is contained in:
Quincy Larson
2015-05-28 16:40:22 -07:00
parent 8501de396f
commit 560e66527b
10 changed files with 120 additions and 186 deletions

18
models/Job.js Normal file
View File

@@ -0,0 +1,18 @@
var mongoose = require('mongoose');
var secrets = require('../config/secrets');
/**
*
* @type {exports.Schema}
*/
var Long = mongoose.Types.Long;
var jobSchema = new mongoose.Schema({
position: String,
company: String,
logoUrl: String,
postingUrl: String,
copy: Array
});
module.exports = mongoose.model('Job', jobSchema);