add jobs
This commit is contained in:
18
models/Job.js
Normal file
18
models/Job.js
Normal 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);
|
Reference in New Issue
Block a user