mirror of
https://github.com/atlanticbiomedical/biomedjs.git
synced 2025-07-02 00:47:26 -04:00
12 lines
274 B
JavaScript
12 lines
274 B
JavaScript
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);
|