Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const mongoose = require('mongoose');
- const Schema = mongoose.Schema({
- surname: String,
- initials: String,
- title: String,
- year: String
- })
- module.exports = mongoose.model('lab', Schema)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement