Create correct indexes (I hope) on tables