adding index to the various daily tables