add indexes to timestamp columns