text: const mongoose = require('mongoose');
  const Schema = mongoose.Schema;
  
  const ReviewSchema = new Schema({
  	body: String,
  	createdAt: { 
  		type: Date, 
  		default: Date.now 
  	},
  	author: {
  		type: Schema.Types.ObjectId,
  		ref: 'User'
  	}
  });
  
  module.exports = mongoose.model('Review', ReviewSchema);
  