Skip to content
Snippets Groups Projects
Commit 0f1604d5 authored by Markus Grigull's avatar Markus Grigull
Browse files

Add timestamps to simulator model

parent b89201e3
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,6 @@ const simulatorSchema = new mongoose.Schema({
state: { type: String, default: "" },
properties: { type: mongoose.Schema.Types.Mixed, default: {} },
rawProperties: { type: mongoose.Schema.Types.Mixed, default: {} },
}, { versionKey: false });
}, { versionKey: false, timestamps: true });
module.exports = mongoose.model('Simulator', simulatorSchema);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment