I tried to use PostgreSQL timestamp datatype, but it throws an error
timestamp
ERROR: date/time field value out of range: \"1489849402536\"
Use the to_timestamp() postgres function:
`insert into times (time) values (to_timestamp(${Date.now()} / 1000.0))`