mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
Added a bunch of stuff
This commit is contained in:
11
app/model/checkList.js
Normal file
11
app/model/checkList.js
Normal file
@ -0,0 +1,11 @@
|
||||
var mongoose = require('mongoose')
|
||||
Schema = mongoose.Schema,
|
||||
ObjectId = Schema.ObjectId;
|
||||
|
||||
var checkListSchema = new Schema({
|
||||
name: String,
|
||||
fields: [{}],
|
||||
deleted: { type: Boolean, default: false }
|
||||
});
|
||||
|
||||
module.exports = mongoose.model('CheckList', checkListSchema);
|
Reference in New Issue
Block a user