continue work on nonprofit show views
This commit is contained in:
@@ -19,7 +19,9 @@ var nonprofitSchema = new mongoose.Schema({
|
||||
projectDescription: String,
|
||||
logoUrl: String,
|
||||
imageUrl: String,
|
||||
estimatedHours: String
|
||||
estimatedHours: String,
|
||||
interestedCampers: [],
|
||||
confirmedCampers: []
|
||||
});
|
||||
|
||||
module.exports = mongoose.model('Nonprofit', nonprofitSchema);
|
||||
|
||||
16
models/NonprofitInterest.js
Normal file
16
models/NonprofitInterest.js
Normal file
@@ -0,0 +1,16 @@
|
||||
var mongoose = require('mongoose');
|
||||
var secrets = require('../config/secrets');
|
||||
|
||||
var nonprofitInterestSchema = new mongoose.Schema({
|
||||
nonprofitId:
|
||||
name: {
|
||||
type: String,
|
||||
unique: false
|
||||
},
|
||||
description: {
|
||||
type: Array,
|
||||
unique: false
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = mongoose.model('Wiki', wikiSchema);
|
||||
Reference in New Issue
Block a user