text: const { Schema, model } = require('mongoose');
  const DevSchema = new Schema({
      name: {
          type: String,
          required: true,
      },
      user: {
          type: String,
          required: true,
      },
      bio: String,
      avatar: {
          type: String,
          required: true,
      },
      likes: [{
          type: Schema.Types.ObjectId,
          ref: 'Dev',
      }],
      dislikes: [{
          type: Schema.Types.ObjectId,
          ref: 'Dev',
      }],
  }, {
      timestamps: true, // Cria createdAt(data de criação), updatedAt(data de atualização)
  });
  
  module.exports = model('Dev', DevSchema);