Store user activity timestamp in PG