var mongoose = require('mongoose');
var db = require('../../db/index.js');

var screenshotsSchema = mongoose.Schema({
  url: { type: String, required: true },
  originalImage: { type: String, required: true },
  //annotation functionality to be implemented on the front-end, see wiki for more info about libraries suggested 
  annotatedImage: { type: String, required: true }, 
  username: { type: String, required: true },
  visits: { type: Number, default: 0 },
  access: {type: String, default: 'public'},
  createdAt: { type: Date, default: Date.now }
});


var Screenshot = mongoose.model('Screenshot', screenshotsSchema);

module.exports = Screenshot;

@@ -207,16 +207,17 @@
  %7D,%0A  //
+ 
 annotati

Update screenshotModel.js