I tried to use PostgreSQL timestamp datatype, but it throws an error
timestamp
ERROR: date/time field value out of range: \"1489849402536\"
Or you can do something similar to this:
const time = new Date().toISOString();
In your query builder:
... .update() .set({column_name: time})