diff --git a/es6/time-stamp.js b/es6/time-stamp.js index 28f8ebe..70558c5 100644 --- a/es6/time-stamp.js +++ b/es6/time-stamp.js @@ -33,7 +33,7 @@ export default (Model, bootOptions = {}) => { Model.defineProperty(options.createdAt, { type: Date, required: options.required, - defaultFn: 'now', + default: new Date(), }); Model.defineProperty(options.updatedAt, {