Rework date and time columns to use 3 decimal places of precision in postgres