text: const {Schema,Types} = require('mongoose')
  
  const reactionSchema = new Schema({
      reactionId: { 
          type: Types.ObjectId,
          default: new Types.ObjectId 
      },
      reactionBody: { type: String, required: true, max: 280 },
      username:{type:String, required:true},
      createdAt: { type: Date, default: Date.now }
    
    },{
      toJSON: {
        virtuals: true,
      },
      _id: false,
    });
    module.exports = {reactionSchema}