text: const mongoose = require('mongoose')
  
  const ProjectSchema = mongoose.Schema({
    name: {
      type: String,
      required: true,
      trim: true
    },
    creator: {
      type: mongoose.Schema.Types.ObjectId,
      ref: 'User',
      required: true
    },
    createdAt: {
      type: Date,
      default: Date.now()
    }
  })
  
  module.exports = mongoose.model('Project', ProjectSchema)