timestamps: true used for code example
Example 1: mongodb created_at updated_at
var thingSchema = new Schema({..}, { timestamps: true });
Example 2: mongodb created_at updated_at
var thingSchema = new Schema({..}, { timestamps: { createdAt: 'created_at' } });