Added indices to database.