Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const mongoose = require('mongoose');
- const Schema = mongoose.Schema;
- const ReportsSchema = new Schema({
- name: {
- type: String
- },
- category: {
- type: String
- },
- report:{
- type:String,
- },
- image:{
- type: String,
- }
- });
- module.exports = Reports = mongoose.model('plans',ReportsSchema);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement