Adds indices to tables so far