Add indexes to database