old_contents: var mongoose = require("mongoose");
  
  var ErrorSchema = new mongoose.Schema({
      message: {
          type: String,
          required: true,
          index: true
      },
      trace: String,
      file: String,
      line: Number,
      symbol: Number,
      url: String,
      createdAt: {
          type: Date,
          required: true,
          index: true,
          default: (+new Date())
      }
  });
  
  var Error = mongoose.model("Error", ErrorSchema);
  
  module.exports = {
      Error: Error
  }
  
new_contents: var mongoose = require("mongoose");
  
  var ErrorSchema = new mongoose.Schema({
      message: {
          type: String,
          required: true,
          index: true
      },
      trace: String,
      file: String,
      line: Number,
      symbol: Number,
      url: String,
      createdAt: {
          type: Date,
          required: true,
          index: true,
          default: (+new Date())
      }
  });
  
  var ErrorLog = mongoose.model("ErrorLog", ErrorSchema);
  
  module.exports = {
      ErrorLog: ErrorLog
  }
  
subject: rename model, add suffix to error word