continue work on nonprofit show views

This commit is contained in:
Michael Q Larson
2015-04-01 22:31:08 -07:00
parent fa74a1b454
commit 1248cde97f
6 changed files with 85 additions and 38 deletions

View 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);