Add missing indexes to the database