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
}

@@ -383,16 +383,19 @@
 ar Error
+Log
  = mongo
@@ -410,16 +410,19 @@
 l(%22Error
+Log
 %22, Error
@@ -463,14 +463,20 @@
 rror
+Log
 : Error
+Log
 %0A%7D%0A

rename model, add suffix to error word