Advertisement
Ahlushko

Untitled

Jun 25th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. const mongoose = require('mongoose');
  2.  
  3. const Schema = mongoose.Schema({
  4. surname: String,
  5. initials: String,
  6. title: String,
  7. year: String
  8. })
  9. module.exports = mongoose.model('lab', Schema)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement