muffin
Version:
The 21st century way of building websites
17 lines (13 loc) • 396 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _db = require('../utils/db');
const gridSchema = _db.goose.Schema({}, {
// Fields that aren't defined in the schema SHOULD be
// saved to the DB nevertheless
strict: false
});
const model = _db.goose.model('Grid', gridSchema, 'media.files');
exports.default = model;
module.exports = exports['default'];