mongoose timestamps true updated at changing with created at on update 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' } });