We need to use sql.NullTime, otherwise we get errors like these: sql: Scan error on column index 7, name "downstream_interacted_at": unsupported Scan, storing driver.Value type <nil> into type *time.Time