I was facing a problem with TimeStamps, In my model I've specified like { timestamps: true, createdAt: 'createdOn', updatedAt: 'updatedOn', tableName: 'Employee' });
But in database both createdOn and updatedOn were storing date values, I want updatedOn as null because it was creating newly. Am I missing anything,Thanks in Advance.
via Jampala Uday
No comments:
Post a Comment