Add indexes to the database