text: 
  var mongoose = require('mongoose');
  var Schema = mongoose.Schema;
  
  var ProjectSchema = new Schema({
    name: String,
    description: String,
    user: {
      type: mongoose.Schema.Types.ObjectId,
      ref: 'User'
    },
    datasources: [{
      type: mongoose.Schema.Types.ObjectId,
      ref: 'DataSource'
    }],
    components: [{
      type: mongoose.Schema.Types.ObjectId,
      ref: 'Component'
    }],
    createdAt: {
      type: Date,
      default: Date.now
    },
    updatedAt: {
      type: Date,
      default: Date.now
    },
  });
  
  
  
  module.exports = mongoose.model('Project', ProjectSchema)