I tried to use PostgreSQL timestamp datatype, but it throws an error
timestamp
ERROR: date/time field value out of range: \"1489849402536\"
Just in case you are using Sequelize, you can use: sequelize.literal('CURRENT_TIMESTAMP'). Example:
sequelize.literal('CURRENT_TIMESTAMP')
await PurchaseModel.update( {purchase_date : sequelize.literal('CURRENT_TIMESTAMP') }, { where: {id: purchaseId} } );