Open mthomsit opened 7 years ago
@mthomsit according to the readme, you can specify custom property names by passing them in as options like this:
mongoose.plugin(timestamps, { createdAt: 'created_at', updatedAt: 'updated_at' });
@mthomsit according to the readme, you can specify custom property names by passing them in as options like this: