start process of moving wiki over to field guide
This commit is contained in:
15
models/FieldGuide.js
Normal file
15
models/FieldGuide.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var mongoose = require('mongoose');
|
||||
var secrets = require('../config/secrets');
|
||||
|
||||
var fieldGuideSchema = new mongoose.Schema({
|
||||
name: {
|
||||
type: String,
|
||||
unique: false
|
||||
},
|
||||
description: {
|
||||
type: Array,
|
||||
unique: false
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = mongoose.model('FieldGuide', fieldGuideSchema);
|
Reference in New Issue
Block a user