3bd1ae58e4
feat: support dynamic image size docs: add Readme.md
8 lines
226 B
JavaScript
8 lines
226 B
JavaScript
'use strict'
|
|
|
|
const mongoose = require('mongoose');
|
|
|
|
module.exports = new mongoose.Schema({
|
|
name: { type: String, required: true },
|
|
num: { type: Number, required: true }
|
|
}, { collection: 'tb_count', versionKey: false }); |